On Nov 18, 8:18 am, Jean-Paul Calderone <[EMAIL PROTECTED]> wrote:
> 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

Has my platform rejected or accepted the connection?  If it accepted
the connection, then why do I  have to call accept()?  Or is "Python
in  Nutshell" wrong?

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to