Query: stream_socket_get_name
OS: php
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
STREAM_SOCKET_GET_NAME(3) 1 STREAM_SOCKET_GET_NAME(3) stream_socket_get_name - Retrieve the name of the local or remote socketsSYNOPSISstring stream_socket_get_name (resource $handle, bool $want_peer)DESCRIPTIONReturns the local or remote name of a given socket connection.PARAMETERSo $handle - The socket to get the name of. o $want_peer - If set to TRUE the remote socket name will be returned, if set to FALSE the local socket name will be returned.RETURN VALUESThe name of the socket.SEE ALSOstream_socket_accept(3). PHP Documentation Group STREAM_SOCKET_GET_NAME(3)