socket_shutdown
socket_shutdown
Shuts down a socket for receiving, sending, or both
bool **socket_shutdown** Socket $socket int $mode
The function allows you to stop incoming, outgoing or all data (the default) from being sent through the
socket_shutdown``socket
Opmerking: > The associated buffer, or buffers, may or may not be emptied.
socket
A instance created with .
Socket``socket_create
mode
The value of can be one of the following:
`mode`
return.success