stream_socket_shutdown
(no version information, might be only in CVS)
stream_socket_shutdown -- Shutdown a full-duplex connectionDescription
int stream_socket_shutdown ( resource stream, int how )Shutdowns (partially or not) a full-duplex connection.
Parameters
streamAn open stream (opened with stream_socket_client(), for example)
howOne of the following constants: STREAM_SHUT_RD (disable further receptions), STREAM_SHUT_WR (disable further transmissions) or STREAM_SHUT_RDWR (disable further receptions and transmissions).
Examples
