Socket.Send timeout exception

I’m having an issue with socket.send since the non blocking socket changes went in. If I call socket.send too quickly (eg: calling send from a UART data received event handler or a buffer management loop) then the first send works, but subsequent sends throw with ‘Socket send timeout’.

If you add a delay (manually break after the send, or block after the send call using socket.poll) then repeated sends work fine.

Is there something going on with the non blocking sends where calling send before a previous send completes behind the scenes is blowing up, or am I missing something?

Thanks!

Could you please send us a simple small project.