[En-Nut-Discussion] Using NutTcpReceive() and NutTcpSend() in different threads

Harald Kipp harald.kipp at egnite.de
Wed Feb 5 09:40:03 CET 2003


>
>Funny you should ask, I'm working on an app the uses a UDP socket in 2
>different threads and have noticed some unexpected behaviour under certain
>circumstances (I get MEMCORR messages, do you?).

For UDP we do not have an application or test with two threads on the
same socket. Anyway, most probably MEMCORR is the result of overriding
some heap memory, usually the stack. Try to avoid local arrays.

Harald




More information about the En-Nut-Discussion mailing list