function closeClientSocket input Integer socketFD "Socket file descripter, or a negative value if an error occurred"; output Integer retVal "Return value of the function that closes the socket connection"; end closeClientSocket;