From the NannyMUD documentation

LAST CHANGE

2000-12-11

FUNCTION


NAME

        query_ip_port - give the port part of the connecting socket

SYNTAX

	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