PHP » GoLang |
login |
register |
about
|
GoLang stream_socket_shutdown
request it (250)
GoLang replacement for PHP's stream_socket_shutdown
[edit | history]
stream_socket_shutdown(PHP 5 >= 5.2.1, PHP 7) stream_socket_shutdown — Shutdown 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) |
more
Recently updated
more
Most requested
more
Last requests
|