1# $EPIC: servports,v 1.2 2001/06/22 20:01:38 jnelson Exp $
2Synopsis:
3   $servports(<server name/refnum>)
4
5Technical:
6   This function returns the remote and local port assignments for the
7   connection to the specified server.
8
9Returns:
10   the remote and local port assignments for the specified server connection,
11   separated by a space
12
13   if the specified server is not connected, returns default remote port and
14   0 for the local port.
15
16Examples:
17   $serverports(0)               /* could return "6667 1054", where 6667 is
18                                    the remote port and 1054 is the local */
19
20   $servername(6127)             /* assuming 6127 is an invalid refnum,
21                                    returns "6667 0" */
22
23See Also:
24   server(1); servnum(6); winserv(6)
25
26