linux-c-programming.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* close() on tcp socket.
@ 2011-04-06 11:00 ratheesh kannoth
  2011-04-06 11:54 ` Javier Martinez Canillas
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: ratheesh kannoth @ 2011-04-06 11:00 UTC (permalink / raw)
  To: linux-c-programming

connect() system call establishes a connection as shown in below steps.

1.   |client |  ----------------- syn --------------->  | server |

2.  |Server|  --------------syn+ ack --------------> | client |

3.  | Client | -----------------ack --------------------> | Server |


But establishing connection , client calls close() system call. Client
is sending FIN+ ACK to server  [ i expected only FIN to be sent from
client to server ]

Is this a valid scenario.?  what could be the problem ?


-Ratheesh

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-04-17 12:26 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-06 11:00 close() on tcp socket ratheesh kannoth
2011-04-06 11:54 ` Javier Martinez Canillas
2011-04-06 19:20 ` Glynn Clements
2011-04-17 12:26 ` Mahavir Jain

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).