Closes a socket connection.
It is good practice to close any socket handle when you are finished with it. Closing a handle returned from SOCKET_CONNECT or SOCKET_ACCEPT terminates that client/server connection (the "session"), while closing a handle returned from SOCKET_INIT terminates the server.
For more detailed information on using the socket routines, see Interapplication Communication Using the Socket OPI.