Search the reference...
/
method
Closes the socket.
This is a wrapper around end() and shutdown().
end()
shutdown()