socket_getsockname

(PHP 4 >= 4.1.0)

socket_getsockname -- Given an fd, stores a string representing sa.sin_addr and the value of sa.sin_port into addr and port describing the local side of a socket

Description

bool socket_getsockname (resource socket, string &addr [, int &port])

Warning

This function is EXPERIMENTAL. The behaviour of this function, the name of this function, and anything else documented about this function may change in a future release of PHP without notice. Be warned and use this function at your own risk.

Warning

This function is currently not documented, only the argument list is available.