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
  • I mean the TCP and BSD Network components as of here:
    www.keil.com/.../using_network_sockets.html
    My original question was if one wanted to create an application which uses TCP to communicate, which of these two APIs (tcp/bsd) would pick to use. Which library offers more flexibility/control and which programming paradigm is better. For example, from what I read the TCP is more event driven. Maybe BSD is using the TCP component and it is good enough.
    I am trying to read and understand the documentation but I am new in the embedded world (and ARM/Keil) and I have quickly understood that coding is different to what I am used to.

Reply
  • I mean the TCP and BSD Network components as of here:
    www.keil.com/.../using_network_sockets.html
    My original question was if one wanted to create an application which uses TCP to communicate, which of these two APIs (tcp/bsd) would pick to use. Which library offers more flexibility/control and which programming paradigm is better. For example, from what I read the TCP is more event driven. Maybe BSD is using the TCP component and it is good enough.
    I am trying to read and understand the documentation but I am new in the embedded world (and ARM/Keil) and I have quickly understood that coding is different to what I am used to.

Children
No data