socket telnet issues [message #47793] |
Tue, 07 March 2006 14:48  |
henrygroe
Messages: 30 Registered: August 2003
|
Member |
|
|
Does anyone have any experience with using SOCKET to control a telnet
connection? (And, if so, please share! I haven't found much
information in the usual places of David's or Craig's websites.)
I'm having some problems with the establishment of the telnet session
with the IDL socket procedure where the telnet host wants to resize (or
at least be aware of) the terminal size and I think this is what is
causing my sessions to hang.
Thanks,
-Henry
|
|
|
Re: socket telnet issues [message #47871 is a reply to message #47793] |
Wed, 08 March 2006 07:44  |
Ricardo Bugalho
Messages: 22 Registered: March 2005
|
Junior Member |
|
|
Hello.
On Tue, 2006-03-07 at 14:48 -0800, henrygroe@gmail.com wrote:
> Does anyone have any experience with using SOCKET to control a telnet
> connection? (And, if so, please share! I haven't found much
> information in the usual places of David's or Craig's websites.)
No experience, but ...
> I'm having some problems with the establishment of the telnet session
> with the IDL socket procedure where the telnet host wants to resize (or
> at least be aware of) the terminal size and I think this is what is
> causing my sessions to hang.
... you are correct. There is some negotiation to the Telnet protocol,
it's not just text over TCP/IP. If you don't implement it properly, you
won't be able to talk to a telnet server. See RFC854.
You might want to search for alternatives, though.
|
|
|