SysEthernetEthFrameReceive (FUN)

FUNCTION SysEthernetEthFrameReceive : POINTER TO SysEthernetFrame

This function receives the next Ethernet frame from the Ethernet adapter. A pointer to this frame is returned. ..note:

The frame returned has to be released using the SysEthernetEthFrameRelease() function.
The frame will only be overwritten if the frame is released. As frames are reused when
released pay attention to call this function if processing of the frame has finished.
InOut:

Scope

Name

Type

Comment

Return

SysEthernetEthFrameReceive

POINTER TO SysEthernetFrame

Pointer to the Ethernet frame

Input

hAdapter

SysTypes.RTS_IEC_HANDLE

Ethernet adapter where to receive the frame.

pResult

POINTER TO RTS_IEC_RESULT

Result of the operation.