netware_conn_info

Returns information about the current connection.

Library:LibC
Classification:NovellĀ®
Service:NetWare Platform

Syntax

  #include <monitor.h>
   
  int netware_conn_info (
     struct conn_info   *info,
     int                *sequence );
  

Parameters

info

(OUT) Points to the conn_info structure, which contains information about the current connection.

sequence

(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.

Return Values

If successful, returns 0; otherwise, returns a nonzero error code:

Decimal

Hex

Constant

Description

66

0x42

ENOSYS

Not supported.

Remarks

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.

See Also