update : 2015.11.03
php.shukuma.com검색:
|
stream_socket_shutdown(PHP 5 >= 5.2.1) stream_socket_shutdown — Shutdown a full-duplex connection 설명
bool stream_socket_shutdown
( resource
$stream
, int $how
)Shutdowns (partially or not) a full-duplex connection. 인수
반환값
성공 시 예제
Example #1 A stream_socket_shutdown() example
<?php 위 예제의 출력 예시: int(5) Notice: fputs(): send of 5 bytes failed with errno=32 Broken pipe in test.php on line 9 int(0) |