PHP.nl

stream_socket_get_name

stream_socket_get_name

Retrieve the name of the local or remote sockets

 **stream_socket_get_name** resource $socket bool $remote

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

socketThe socket to get the name of.

remote If set to true the socket name will be returned, if set to false the socket name will be returned. remote``local

The name of the socket,return.falseforfailure.

stream_socket_accept