the TimeoutException works fine on Linux but crashes on MSWindows when built with mingw.
Code: Select all
Timespan to; to.assign (3, 0); socket.setReceiveTimeout(to);
int n= socket.receiveBytes(buffer, BUFFER_SIZE);
Processed OK on Linux but never really gets here on timeout
using mingw on MSWindows.
Everything else seems to work fine (other threads with WebSocket/SSL, other socket connections).
Any suggestions would be appreciated.