The Library SysLibSockets.lib

This library supports the access on sockets for the communication via TCP_IP and UDP.

Note

:strong:UDP

  • For AC500_Product_Name Firmware < 2.4 FreeUDP must be used.
  • For AC500_Product_Name Firmware ≥ 2.4 UDP is available.

If the target system supports the functionality (see The Library SysLibSockets.lib) then the functions listed below are available, each calling the corresponding function of the operating system.

The execution is synchronous.

Note

The behaviour of the functions may differ target-specifically.

The opening/closing of sockets may take a long time if many sockets are to be opened/closed simultaneously.

Using the asynchronous functions is recommended (only AC500_Product_Name V3). The Library SysLibSocketsAsync.lib.

TCP specific:

UDP specific: