Gnet Exception in RecvBuf

BlitzMax Forums/BlitzMax Programming/Gnet Exception in RecvBuf

Lerc(Posted 2005) [#1]
I'm trying out the small gnet demo on my system and It works fine over LAN but when using a 256kbit net connection it works for a while then generates a GNetRecv error in RecvBuf

I'm assuming that It was a net dropout of some sort that caused this, so 2 questions.

Is this exception supposed to occur, or is it something that only occurs if there is a bug.

Working on the assumption that this exception can legitimately occur (reporting a non-bug related problem), What is the appropriate response to the exception. Catch it and do another sync? or is the link screwed and a reconnect is required.

Call stack is:-

gnetdemo
GNetSync
Sync
RecvMsg
RecvBuf *GNetRecv error