|
stream_socket_shutdownShutdown a full-duplex connection Description
bool stream_socket_shutdown
( resource
$stream
, int $how
)Shutdowns (partially or not) a full-duplex connection.
Parameters
Return Values
Returns Examples
Example #1 A stream_socket_shutdown example
<?php The above example will output something similar to: int(5) Notice: fputs(): send of 5 bytes failed with errno=32 Broken pipe in test.php on line 9 int(0) See Also
|