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