SWRU455M February 2017 – October 2020 CC3120 , CC3120MOD , CC3130 , CC3135 , CC3135MOD , CC3220MOD , CC3220MODA , CC3220R , CC3220S , CC3220SF , CC3230S , CC3230SF , CC3235MODAS , CC3235MODASF , CC3235MODS , CC3235MODSF , CC3235S , CC3235SF
Table 7-1 lists the key features of the socket.
Key Features | Description |
---|---|
Max Sockets | 16 sockets including up to 6 connected secured sockets for CC3120/CC320 and up to 16 connected secured sockets for CC313x/CC323x |
Socket Types | SL_SOCK_STREAM (TCP) |
SL_SOCK_DGRAM (UDP) | |
SL_SOCK_RAW | |
SL_IPPROTO_TCP (TCP RAW socket) | |
SL_IPPROTO_UDP (UDP RAW socket) | |
SL_IPPROTO_RAW (IP RAW socket) | |
SL_SEC_SOCKET (secure socket – SSL/TLS) | |
Address Families | SL_AF_INET (IPv4) |
SL_AF_INET6 (IPv6) | |
SL_AF_RF (transceiver) | |
SL_AF_PACKET | |
Connection Types | Client |
Server | |
Modes | Blocking |
Non-blocking | |
Trigger | |
Dual Stack Mode | IPv6 server allows IPv4 client connections. |
UDP Packet Boundary | Enable and disable (disable by default) |
Select | Select on receive, accept, and connect |
GetHostByName | Retrieve the IPv4/IPv6 address according to the host name. |
Multicast | Up to eight multicast sockets |