blob: 2e5c6d21ad167a1b134a62973d30af8b8f8f86c9 [file] [log] [blame]
MG Mud User88f12472016-06-24 23:31:02 +02001DEPRECATED
2SYNOPSIS
3 int query_mud_port(void)
4 int query_mud_port(object user)
5 int query_mud_port(int num)
6
7DESCRIPTION
8 Returns the port number the parser uses for user connections.
9
10 If no argument is given, the port for this_player() is
11 returned. If this_player() is not existing or not interactive,
12 the first port number open for connections is returned.
13
14 If an user object is given, the port used for its connection
15 is returned.
16 If a positive number is given, the <num>th port number the
17 parser uses for connections is returned (given that there are
18 that many ports).
19 If -1 is given, the number of ports open for connections is
20 returned.
21
22SEE ALSO
23 query_udp_port(E)