socket.shutdown [method]

socket.shutdown( int type )

shut down the socket, disabling the specified kind of operations