This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Part Number: DK-TM4C129X
Tool/software: TI-RTOS
Hi,
I am using the DK-TM4C129 and TI RTOS and NDK for web server app. I started out using tcpecho and I was able to make it work.
I modified the tcpecho code as shown below and I was able to make it work with the web server task created dynamically. However, when I tried to do it static using a semaphore_post on the hook and semaphore_pend on the web_server_task, I keep on getting an error. The socket function returns a -1.
Hi Charles,
Thanks for the response. I made the correction and I'm still experiencing the problem..
By the way, on a might not exactly be related note, I printed out the socket number while I was running the tcpecho sample program,. Is it normal to get a socket number (socket function return value) that is huge... like 537048868?
I've done socket programming in other microcontrollers like the Synergy S7 and usually the socket function returns a value between 32 to 64. I believe the same goes when doing this on windows(not 100% sure abt this). Any thoughts on this?
Thanks
AJ