Re: [Tutor] A very simple socket server question

2005-03-29 Thread Kent Johnson
Kevin wrote: I figured out how to create a very simple socket server. Though this socket server does exactly nothing special. I can however get it to send only one line of data back to the telnet client. You need two nested loops - an outer loop to accept the connection and an inner loop to proces

[Tutor] A very simple socket server question

2005-03-29 Thread Kevin
I figured out how to create a very simple socket server. Though this socket server does exactly nothing special. I can however get it to send only one line of data back to the telnet client. import socket ## HOST = "" PORT = 4000 ## s = socket.socket(socket