blob: 8913433aaf8ca1de12d9cbec9980963359b1aabc [file] [log] [blame]
Zesstra18626972017-01-31 10:38:27 +01001query_mud_port()
2================
3
4DEPRECATED
5----------
6::
7
8SYNOPSIS
9--------
10::
11
12 int query_mud_port(void)
13 int query_mud_port(object user)
14 int query_mud_port(int num)
15
16DESCRIPTION
17-----------
18::
19
20 Returns the port number the parser uses for user connections.
21
22 If no argument is given, the port for this_player() is
23 returned. If this_player() is not existing or not interactive,
24 the first port number open for connections is returned.
25
26 If an user object is given, the port used for its connection
27 is returned.
28 If a positive number is given, the <num>th port number the
29 parser uses for connections is returned (given that there are
30 that many ports).
31 If -1 is given, the number of ports open for connections is
32 returned.
33
34SEE ALSO
35--------
36::
37
38 query_udp_port(E)
39