stream_socket_get_name(3) php man page | unix.com

Man Page: stream_socket_get_name

Operating Environment: php

Section: 3

STREAM_SOCKET_GET_NAME(3)						 1						 STREAM_SOCKET_GET_NAME(3)

stream_socket_get_name - Retrieve the name of the local or remote sockets

SYNOPSIS
string stream_socket_get_name (resource $handle, bool $want_peer)
DESCRIPTION
Returns the local or remote name of a given socket connection.
PARAMETERS
o $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 VALUES
The name of the socket.
SEE ALSO
stream_socket_accept(3). PHP Documentation Group STREAM_SOCKET_GET_NAME(3)
Related Man Pages
socket_set_nonblock(3) - php
socket_getpeername(3) - php
socket_getsockname(3) - php
socket_last_error(3) - php
socket_recvfrom(3) - php
Similar Topics in the Unix Linux Community
User Guide: Posting in the Emergency Forum
New Code Tags (Syntax Highlighting)
Please Welcome Don Cragun as Lead Moderator
Status of UNIX.COM Forum Transformation
The Order of the Wizard's Hat - Lifetime Achievement Award 2019 - Congrats to Wolf Machowitsch