Returns information about the current connection.
#include <monitor.h> int netware_conn_info ( struct conn_info *info, int *sequence );
(OUT) Points to the conn_info structure, which contains information about the current connection.
(IN/OUT) Specifies the iteration of the function. To view information about all connections, pass zero the first time the function is called and do not modify the returned value on subsequent calls. To view information about a specific connection, set sequence to that connection number.
If successful, returns 0; otherwise, returns a nonzero error code:
The netware_conn_info function is iterative so that the information for the next connection is returned each time the function is called.
This function is not supported on NetWare 5.x.