Socket:shutdown()

Shuts down the Socket. Further sends or reveives are disallowed, and any pending data is discarded. Call this method if you want to stop using the connection immediately, because Socket:close() can take some time to effectively close the connection.

Return value

The function returns no value.