.DT
query_ip_port
$MUDNAME$ driver help
query_ip_port

.SH Name
.SI 5
query_ip_port() - return the ip port of a given player object
.EI

.SH Synopsis
.SI 5
int query_ip_port( object ob | void );
.EI

.SH Description
.SP 5 5
Returns the local port that the argument object used to connect to
the mud.  If the argument is void, return the local port that
this_player() used to connect to the mud.  Calling this on
non-interactive objects will return 0.
.EP

.SH See also
.SI 5
query_ip_name(), query_host_name(), resolve(), socket_address()
.EI
