Versions Compared

Key

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

...

Although there is a great deal of similarity between the two APIs, the parameters of the two sets of functions differ slightly. The purpose of the following sections is o give developers a first look at Micrium’s functions by providing concrete examples of how to use the API.

 

µC/TCPIP Sockets can be accessed and controlled using

...

three different APIs set:

  • BSD APIs are following BSD 4.x functions prototype and there are presented in the section BSD Functions.
  • Net Sock APIs are the low level socket API. They are based on BSD sockets but with more arguments and it can return the error cause. Net Sock APIs are presented in the section Network Socket Functions.
  • Net APP APIs include more parameters of the Net Sock API, to accomplish some operation that should be always perform when calling Socket API, such as setting timeout, retry, apply delay and such. Basically there a a wrapper of Net Sock APIs. Net APP APIs are presented in the section Network Application Interface Functions.

...