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
SysEthernetEthFrameReceivePOINTER TO SysEthernetFrame
Pointer to the Ethernet frame
Input
hAdapterSysTypes.RTS_IEC_HANDLEEthernet adapter where to receive the frame.
pResultPOINTER TO RTS_IEC_RESULT
Result of the operation.