PHP ʖ²ἯTH º󍋼/A socket_getpeername Description ¾¯¸漯B If the given socket is of type AF_INET, socket_getpeername() will return the peers (remote) 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_get_option ɏһ¼¶ socket_getsockname