Comments
www.bigresource.com/VB-How-to-close-a-socket-connection--29akiXPO5p.html
Posted by crouse
www.amk.ca/python/howto/sockets
Posted by crouse
Socket . Close Method. Closes the Socket connection and releases all associated resources.
Posted by waqasahmad
status = 0 if successful
and
status = 1 if error occur
Posted by HamidAliKhan
status = close(s);
Posted by waqqas1
* When finished using a socket, the socket should be closed:
* status = close(s);
- status: 0 if successful, -1 if error
- s: the file descriptor (socket being closed)
* Closing a socket
- closes a connection (for SOCK_STREAM)
- frees up the port used by the socket
Posted by priyadarshan