update : 2015.11.03
php.shukuma.com

검색:
 
 
Closes a socket resource

socket_close

(PHP 4 >= 4.1.0, PHP 5)

socket_closeCloses a socket resource

설명

void socket_close ( resource $socket )

socket_close() closes the socket resource given by socket. This function is specific to sockets and cannot be used on any other type of resources.

인수

socket

A valid socket resource created with socket_create() or socket_accept().

반환값

값을 반환하지 않습니다.

참고