1.2.1.19.31 TCPIP_SNMP_NotifyIsReady Function

C

bool TCPIP_SNMP_NotifyIsReady(
    IP_MULTI_ADDRESS* remoteHost, 
    SNMP_TRAP_IP_ADDRESS_TYPE eTrapMultiAddressType
);

Description

This function resolves given remoteHost IP address into MAC address using ARP module. If remoteHost is not available, this function would never return true. Application must implement time out logic to handle "remoteHost not available" situation.

Preconditions

TCPIP_SNMP_NotifyPrepare() is already called.

Parameters

ParametersDescription
remoteHostPointer to remote Host IP address.
eTrapMultiAddressTypeIPv4 and IPv6 address type.

Returns

None.

Remarks

This would fail if there were not UDP socket to open.