TCPIP_IPV4_MaxDatagramDataSizeGet Function

C

int TCPIP_IPV4_MaxDatagramDataSizeGet(
    TCPIP_NET_HANDLE netH
);

Description

This function is a helper to allow retrieving the MDDS on the specified interface.

Preconditions

IPv4 properly initialized. Interface properly initialized.

Parameters

ParametersDescription
netHHandle of the interface.

Returns

  • The maximum datagram data size that can be transported on the selected interface.

  • 0 - Invalid interface specified.

Remarks

None.