1.2.1.19.22 TCPIP_SNMP_ClientGetNet Function

C

TCPIP_NET_HANDLE TCPIP_SNMP_ClientGetNet(
    int * netIx, 
    TCPIP_NET_HANDLE hNet
);

Description

This function is used to get a network interface to transmit SNMP trap.

Preconditions

The SNMP module should be initialized.

Parameters

ParametersDescription
netIxNetwork index.
hNetNetwork interface .If hNet is NULL, then a valid interface will be returned.

Returns

TCPIP_NET_HANDLE

  • Success - Returns a valid interface.

  • Failure - No interface.

Remarks

None.