Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

TODOAfter all the µC/TCP-IP prerequisite modules have been initialized (see section Prerequisite module initialization), the TCP/IP stack must be initialize with the function Net_Init(). This function must be called before any other network API functions.

This function will create the OS objects required by the TCP/IP module, initialize to their default value all the network configurable parameters, initialize the network statistic counters, intialize the network buffer pools, initialize all the different network layers, etc.

This function also takes as arguments the three Network Task configurations defined in the net_cfg.c (see section Network Stack Configuration) file as shown in the function prototype below. 

 

For more details on the Net_Init() function refer to API functions section here.

Section Sample Applications also gives examples of TCP/IP application initialization functions.