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
Thanks IB Shy, this was the answer I was looking for.
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.
Note that the choice of API has nothing to do with the type of the remote host.