TCPGetUrgOffset


C Specification

#include <dolphin/ip.h>

s32 TCPGetUrgOffset ( TCPInfo* info );

Description

TCPGetUrgOffset() returns the the number of remaining urgent bytes to be read. If the return value is zero, the receiver is not in urgent mode.

Note: The current implementation assumes that the urgent pointer points to the sequence number of the last + 1 octet in a sequence of urgent data as Berkeley derived system does.

Arguments

info Pointer to TCPInfo to query the number of urgent bytes.

Return Values

The number of remaining urgent bytes to be read.

See Also

TCPReceiveUrgAsync(), TCPSendUrgAsync()