08-28-2012 01:47 AM
Hello,I am new to this forum and to uCos. I am trying to investigate if we can port our application on uCos II. Could some one please share their views/experience about uCos II. Our applciation currently works on Linux and it uses POSIX pthreads, Semaphores, Mutex, RAW Socket packet handling. Is it possible to use multiple threads in uCosII. Is there a API for raw packet handling some thing like pcap in linux. Kindly share your opinions on this issue. Cheers Tama
08-28-2012 08:42 AM
uCOS doesn't have a POSIX API, so you'll have to convert all your pthread, semaphores and mutex calls to the uCOS API.As for raw sockets, AFAIK there is no API to access them. The Interniche TCP/IP stack is rather simple, and if you want raw sockets you'll probably have to go into the stack code and modify it yourself.