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!!!
"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.