sock: TCP/IP socket functions |
Top Previous Next |
Socket functions are used for communicating over a mobile network or LAN. The sock() functions uses TCP/IP. For UDP/IP support, please see UDP/IP socket functions.
Please see the example program (shown for each function).
Please also see the example application section for examples.
For NX32L based devices it is recommended to use the Advanced so socket API.
IP address format: In all places where an IP address aaa.bbb.ccc.ddd is stored in a DINT, the following format is used:
ddd is stored in bit 24..31. ccc is stored in bit 16..23. bbb is stored in bit 8..15. aaa is stored in bit 0..7. |