(add) Re: [En-Nut-Discussion] NutUdpSendTo doesn't return

Ralph Mason ralph.mason at telogis.com
Fri Sep 9 15:40:22 CEST 2005


Ulrich Hertlein wrote:

> One thing I just noticed:
> - when I call the NetUdpSendTo function from the main thread (the one 
> that's running the TCP server) it works
> - when I call it from the other thread it hangs
>
> Do I have to take some precaution about thread safety with networking?
> Cheers,
> /Ulrich

The only precaution you need to take is your stack sizes.  Perhaps your 
main thread has a bigger stack than the otherthread?

Ralph



More information about the En-Nut-Discussion mailing list