[Tutor] Sockets -- huh?
D-Man
dsh8290@rit.edu
Sun, 25 Mar 2001 14:39:52 -0500
On Sat, Mar 24, 2001 at 12:18:37AM -0500, JRicker wrote:
| : Have you tried telnetlib?
|
| No I didn't. My reference has been Python Essential Reference, written
| for 1.5 and it said telnetlib was undocumented. I figured sockets was a
| replacement. Though telnetlib will be much better for my needs, any
| reason why sockets wouldn't work?
|
Telnetlib is documented here :
http://www.python.org/doc/lib/module-telnetlib.html
As Jorg said, telnet is a protocol that is built on top of sockets.
Sockets are a very low level of communication. The server is probably
waiting for you to declar (according to the telnet protocol) what your
TERM, etc, are.
HTH,
-D