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
  • If the protocol is TCP/IP, it really doesn't matter if you're talking to a Windows, Linux, or OSX.

    >>Does the TCP is implemented on top of the BSD sockets

    I'm not sure where that paradigm would make any sense, Berkeley sockets use the protocol stack, not the other way round.

    Look for an example implementing an HTTP server.

Reply
  • If the protocol is TCP/IP, it really doesn't matter if you're talking to a Windows, Linux, or OSX.

    >>Does the TCP is implemented on top of the BSD sockets

    I'm not sure where that paradigm would make any sense, Berkeley sockets use the protocol stack, not the other way round.

    Look for an example implementing an HTTP server.

Children
More questions in this forum