Query: socket_shutdown
OS: php
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
SOCKET_SHUTDOWN(3) 1 SOCKET_SHUTDOWN(3) socket_shutdown - Shuts down a socket for receiving, sending, or bothSYNOPSISbool socket_shutdown (resource $socket, [int $how = 2])DESCRIPTIONThe socket_shutdown(3) function allows you to stop incoming, outgoing or all data (the default) from being sent through the $socketPARAMETERSo $socket - A valid socket resource created with socket_create(3). o $how - The value of $how can be one of the following: possible values for $how +--+--------------------------------------+ | | | |0 | | | | | | | Shutdown socket reading | | | | | | | |1 | | | | | | | Shutdown socket writing | | | | | | | |2 | | | | | | | Shutdown socket reading and writing | | | | +--+--------------------------------------+RETURN VALUESReturns TRUE on success or FALSE on failure. PHP Documentation Group SOCKET_SHUTDOWN(3)
Related Man Pages |
---|
socket_create_listen(3) - php |
socket_read(3) - php |
socket_bind(3) - php |
socket_last_error(3) - php |
socket_sendto(3) - php |
Similar Topics in the Unix Linux Community |
---|
How detect TCP/IP socket shutdown when ethernet cable is disconnected |