query_ip_port |
Discworld driver help |
query_ip_port |
Name
query_ip_port() - return the ip port of a given player object
Synopsis
int query_ip_port( object ob | void );
Description
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.