[Tutor] Question about network server in python

Peter Jessop pjlists at gmail.com
Thu Jun 15 16:17:37 CEST 2006


I think the problem here is the 'break' statement.
Does it not put you outside the while loop whereas in order to keep
the server socket open you need it to loop forever.

I also think that the s.accept should be inside the while loop.


More information about the Tutor mailing list