SWRU368C May 2018 – January 2021 CC3100 , CC3100MOD , CC3200 , CC3200MOD
The de facto networking API standard used in SimpleLink is BSD (Berkeley) sockets, upon which the Linux™, POSIX, and Windows™ sockets APIs are based. We try to be tied to Linux variant (as much as we can). The major differences are in error codes (return directly without errno) and additional setsockopt() options, which is a small subset of BSD Sockets API with some TI-specific socket option additions.
The content of this page assumes a basic understanding of Internet protocol suite and the differences between TCP and UDP connections. Here are some basic concepts: