Jump to main content

##

# 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

Parameters | Description
--- | ---
netIx | Network index.
hNet | Network 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.