stream_socket_shutdown

stream_socket_shutdown

(PHP 5 >= 5.2.1, PHP 7)

stream_socket_shutdownShutdown a full-duplex connection

Description

bool stream_socket_shutdown ( resource $stream , int $how )

Shutdowns (partially or not) a full-duplex connection.

Note:

The associated buffer, or buffers, may or may not be emptied.

Parameters

stream

An