Closing the socket

Hi,

I have a question on closing the listen socket in server. In the application I am working, the server is continously receiving requests from the client in its master socket to handle each request. There is an option to shutdown the server process. In this case do I need to explicitly close the master socket while shutting down.

Thanks

You should call shutdown() or close().