The main_TcpNet is the main TcpNet function. It
handles:
protocol timeouts
ARP address cache
polling of the ethernet controller for received data.
When main_TcpNet receives data from the remote machine, it
calls the appropriate TCPnet protocol functions to process the data
and then passes the resulting data to the user application.
The main_TcpNet function is in the RL-TCPnet library. The
prototype is defined in rtl.h.
note
You must call main_TcpNet frequently. Otherwise the
TCPnet system fails to run.
Return Value
The main_TcpNet function returns __TRUE, if the TCPnet
system is busy. If TCPnet system is idle, this function returns
__FALSE.
The return value is used in event-driven operation mode of TCPnet
in RTX environment.
Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers of your data.