[Tutor] Basic telnet question

Phil phil_lor at bigpond.com
Sat Sep 24 16:45:14 EDT 2016


On 24/09/16 21:03, Joaquin Alzola wrote:
>
>> $ telnet localhost 7356
>
>> The client then responds with:
>
>> Trying 127.0.0.1...
>> Connected to localhost.
>> Escape character is '^]'.
>
> Why not use the socket module?

I did try the socket module, Joaquin but it didn't seem to be leading 
anywhere plus the telnetlib module seemed to be a more logical choice. 
Is there some advantage to using the socket module?

-- 
Regards,
Phil


More information about the Tutor mailing list