RttcpipStartComponent

RttcpipStartComponent starts the TCP/IP Stack component.

Syntax

Copy
BOOL RttcpipStartComponent(); 

Parameters

This function has no parameters.

Return Value

If the function succeeds, and the component starts, it returns TRUE. If the function fails, it returns FALSE. Call GetLastError to obtain an error code if the function fails.

Remarks

The TCP/IP Stack component requires a Basic Network license (WNET64). Contact IntervalZero Sales to purchase licenses.

The TCP/IP component is dependent on the Network Link Layer (NL2). The NL2 must be started before the TCP/IP component can start. Calls to RttcpipStartComponent will attempt to start the NL2 if it is not already started. This function will return FALSE if the NL2 cannot be started.

Requirements

Minimum supported version Header Library

wRTOS 1.0 SDK

RttcpipComponent.h

RtfwtcpipApi.lib (Windows), RttcpipApi.lib (RTSS)

See Also: