public get_address ( ) : string | null | ||
리턴 | string | null |
public function get_address()
{
$r = null;
/**
* This is documented as stating this should only be used
* for socket_connect'ed sockets ... for now this seems to work.
*/
socket_getsockname($this->get_resource(), $r);
return $r;
}