|
Each RtxTcpIp NIC Driver loaded by the RtxTcpIp Protocol stack will have a dedicated section in the RtxTcpIp Protocol Stack's configuration INI file. The RtxTcpIp Protocol Stack can link up to 255 different drivers simultaneously. As a result, a configuration file can contain up to 255 driver sections named rtnd0 to rtnd254. The driver section of a configuration INI file contains several required, standard, and optional fields for each driver, and provides a place for any configuration information specific to a given driver.
The RTN functions which are part of RT-TCP/IP SDK provide API calls for reading the configuration file used by the RtxTcpIp Protocol Stack.
NOTE: The INI file used by the RtxTcpIp Stack can be setup through the RTX Properties control panel's TCP/IP tab.
NOTE: An event handle is held when a socket is closed. To avoid running out of events during periods where TCP sockets are closed and opened in quick succession, ensure that the Stack is initialized with a NumStartupEvents value greater than the number of sockets.
IMPORTANT! Make sure to allocate enough memory or the RT-TCP/IP Stack could fail with undesired results.
The RtxTcpIp INI file has three sections:
For more information, see the Protocol Stack Section topic.
For more information, see the NIC Driver Section topic.
For more information, see the Domain Name Server Section topic.
The INI file used by the RtxTcpIp Stack can be setup through the RTX Properties control panel (TCP/IP tab) when starting the RtxTcpIp Stack. When the RT-TCP/IP stack is started, an absolute path is required when specifying the INI file.
The RTN functions, which are part of RTX SDK, provide API calls for reading the RtxTcpIp INI configuration file.