I cannot find the SOCKADDR or SOCKADDR_IN structure used in many functions such as bind http://www.keil.com/support/man/docs/rlarm/rlarm_bind.htm or recvfrom http://www.keil.com/support/man/docs/rlarm/rlarm_recvfrom.htm
I have included <RTL.h> header file in which there is no trace of SOCKADDR at all. Please Help!!!
Err... Linux is an OS - surely?!
For RL-ARM, look at the feature list: http://www.keil.com/rl-arm/rl-tcpnet.asp
@Andrew : sorry didn't get you. Probably you are saying that linux is not an OS but a "kernel".
My question really is that can I use BSD functions without system call functions like os_tsk_create_user () (which is used in the BSD examples for task switching) or os_tsk_create() (which is used in the BSD example to create a timer_task); can't I just use the BSD functions in my main() function without any sort of task switching ?
"can't I just use the BSD functions in my main() function without any sort of task switching ?"
Not seen anything to say that the RTX is required with the BSD functions. A look at the header files suggests that TCP and/or UDP support must also be included (which would make sense).
Yes, BSD functions can be used without RTX in non-blocking mode.