On Wed, Mar 07, 2007 at 04:26:15PM -0800, David McDaniel wrote: > My *really* basic question is, given an open tcp socket to which a > syn is delivered, is the responding syn/ack sent only when the > application does an accept() ?
No. The kernel completes the three way handshake before telling the application about the new client. > The corrolary question is whether the server end has a means to > access the DSCP bits in the original SYN. The idea being to then set > the bits on the listen()-ing socket and ten do the accept(). Which, > if you take the man page literally would copy that property to the > new socket. My head hurts looking at that code, but I believe that the answer is "Yes" - if you set the bits on the listener then they will be set in the SYN-ACK output when the client connects. dme. _______________________________________________ networking-discuss mailing list [email protected]
