When we want to abort a connection, or to close a socket that is no longer needed, we can use the close() system call. it is defined simply as:
int close(int socket);
* socket - The socket that we wish to close. If it is associated with an open connection, the connection will be closed.
Wednesday, April 22, 2009
How to do Closing a socket.
Posted by Raghu Kumar on 7:46 PM
RSS Feed
Twitter
Orkut