Frank,
Sorry for the slow reply. The expert I want to discuss this with is out of office.
Regarding using one task, and the blocking recv() call…
Maybe you can modify the example to call fdStatus() [with request=FDSTATUS_RECV], to query if there is any data to be read (and if recv() should be called)?
Have you tried specifying the MSG_DONTWAIT flag when calling recv()?
For your two task case... I think you should be able to share the socket for your use case, but I’m not positive. Did you maybe try using fdShare() after opening the socket?
Hope this helps…
Scott
↧
Forum Post: RE: NDK telnet escape function
↧