Hello,
I'm noticing a strange scenario happening on my system while using a UDP socket from the RL-TCPnet library.
Scenario summary: lpc1788 micro - custom board RTX in use 1 UDP socket Webserver running all TCPnet stuff happens in a single task
The issue is that everything works as in the documentation except that for some reason my udp_callback function is getting called twice for each received packet.
(http://www.keil.com/support/man/docs/rlarm/rlarm_udp_get_socket.htm)
All parameters to the callback are exactly the same on the second call.
All I do in the callback is copy the buffer to another buffer and set a flag.
Has anyone ever seen this, or have any ideas what might be going on?
Thanks.
M