Functions | |
void | net_isq (void) |
The main polling function for processing sockets, must be periodically called in the main application. More... | |
This is the "working horse" of the TCP/IP stack. net_isq() must be called regularly to handle background activities: listen for incoming connections, transfer queued data, resolve host names, provide ARP resolution, retransmit data, etc. For example, if you want to send a packet to a host called www.mydomain.com and the IP address is unknown, the net_isq() will start a DNS request and tries to resolve the name.
net_isq() can be called in your main program loop, from a periodic timer interrupt, or as a periodic task in a RTOS environment.
In pseudo code the net_isq() performs the following functions:
void net_isq | ( | void | ) |
- |