Zesstra | 1862697 | 2017-01-31 10:38:27 +0100 | [diff] [blame] | 1 | query_mud_port() |
| 2 | ================ |
| 3 | |
| 4 | DEPRECATED |
| 5 | ---------- |
| 6 | :: |
| 7 | |
| 8 | SYNOPSIS |
| 9 | -------- |
| 10 | :: |
| 11 | |
| 12 | int query_mud_port(void) |
| 13 | int query_mud_port(object user) |
| 14 | int query_mud_port(int num) |
| 15 | |
| 16 | DESCRIPTION |
| 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 | |
| 34 | SEE ALSO |
| 35 | -------- |
| 36 | :: |
| 37 | |
| 38 | query_udp_port(E) |
| 39 | |