This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Which socket TCP or BSD

Hello,

I am a bit confused as to which API I should use for communication with PC running Win7.
Seems like the TCP api is more event driven whereas the BSD is the classic implementation. Does the TCP is implemented on top of the BSD sockets or they are not related at all. Do they both require RTX running
The Microcontroller will run as a TCP server.

Many thanks
Nick

Parents
  • The interesting thing about the Berkeley socket interface is that almost all networking sample code on the net is for (or almost for) this API. And the majority of all network programming books describes this API and shows sample code for (or almost for) this API.

    This is because the Berkeley sockets is the foundation for what later evolved into POSIX Sockets.

Reply
  • The interesting thing about the Berkeley socket interface is that almost all networking sample code on the net is for (or almost for) this API. And the majority of all network programming books describes this API and shows sample code for (or almost for) this API.

    This is because the Berkeley sockets is the foundation for what later evolved into POSIX Sockets.

Children