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 14,116 of 14,669    |
|    rmbandes@gmail.com to glen herrmannsfeldt    |
|    Re: Shortest TCP session?    |
|    10 Mar 14 12:26:04    |
      I believe these statements to be true, mostly from reading RFC 791:              1) You may put data in the SYN and SYN+ACK segments, but it doesn't make any       sense since the TCP connection isn't established yet.              2) You may put data in the ACK segment which acknowledges the SYN+ACK.              3) I'm not sure if the ACK acknowledging the SYN+ACK can carry the FIN flag,       but I can't find any prohibition for it.              4) The TCP state diagram in RFC 791 makes it look like you can't have a FIN       flag in the ACK segment that acknowledges a FIN segment. I believe this is       because the diagram is documented as being incomplete.              So I believe that the shortest (in segments, not bytes or time) TCP connection       is as follows:              Client <-> Server       -> SYN       <- ACK, SYN       -> ACK, data, FIN       <- ACK, data, FIN       -> ACK              On Saturday, January 19, 2013 6:10:26 PM UTC-5, glen herrmannsfeldt wrote:       > Jorgen Grahn |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca