home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.protocols.tcp-ip      TCP and IP network protocols.      14,669 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 13,825 of 14,669   
   Casper H.S. Dik to David Goodenough   
   Re: Calling accept() and sending SYN,ACK   
   21 Nov 11 23:06:22   
   
   d2974c4e   
   From: Casper.Dik@OrSPaMcle.COM   
      
   David Goodenough  writes:   
      
   >I'm 99% certain I know the answer to this, but would just like to get   
   >100% confirmation.   
      
   >Is it true that a server which is listening for connections does not   
   >send the SYN,ACK packet back to a client until after the application   
   >actually calls accept(sock, addr, addrlen); ?   
      
   Incorrect.  accept() won't get the connection until the 3-way handshake   
   is completed.   
      
   Casper   
   --   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca