PHP ʖ²ἯTH
º/A
socket_getsockname
Description
¾¯¸漯B
If the given socket is of type AF_INET, socket_getsockname() will return the local IP address in dotted-quad notation (e.g. 127.0.0.1) in the address parameter and, if the optional port parameter is present, also the associated port.
See also socket_getpeername(), socket_last_error() and socket_strerror().
º/A
ưµ㼯A
socket_getpeername
ɏһ¼¶
socket_iovec_add