From the NannyMUD documentation
2000-12-11
NAME
query_ip_port - give the port part of the connecting socketSYNTAX
int query_ip_port(void|object player)DESCRIPTION
Gives the port part of the socket through which the player connects to the game.NOTE
This function demands an external process to be active on the machine running the gamedriver.SEE ALSO
query_ip_number in efun/player_related/query_ip_number