- Subject: close() on tcp socket.
- From: ratheesh kannoth <ratheesh.ksz@xxxxxxxxx>
- Date: Wed, 6 Apr 2011 16:30:43 +0530
- List-id: <linux-c-programming.vger.kernel.org>
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
--
To unsubscribe from this list: send the line "unsubscribe linux-c-programming" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
[Linux Assembler]
[Git]
[Kernel List]
[Fedora Development]
[Fedora Announce]
[Autoconf]
[Yosemite Campsites]
[Yosemite News]
[GCC Help]