stream_socket_get_name

 string stream_socket_get_name ( resource $handle , bool $want_peer ) 

説明

Returns the local or remote name of a given socket connection.

戻り値

The name of the socket.