On Sat, 17 Nov 2007 21:32:50 -0800 (PST), 7stud <[EMAIL PROTECTED]> wrote: >According to "Python in a Nutshell(2nd)", p. 523: > >connect: s.connect((host, port)) >... >Blocks until the server accepts or rejects the connection attempt. > >However, my client program ends immediately after the call to >connect()--even though my server program does not call accept(): >
Your platform's TCP implementation acknowledges the connection attempt before your application calls accept(). This is fairly usual. Jean-Paul -- http://mail.python.org/mailman/listinfo/python-list