Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
4.8.1
-
None
Description
There are two problem close by each other.
1) On “Windows XP” (may be on other “Windows” OS too). By sending a datagram with long length, “Windows” regularly return error code 10035 (WSAEWOULDBLOCK). This is likely temporary error. QUdpSocket likely don’t process this error correct and set state to QAbstractSocket::NetworkError. It is impossible to do with this socket something and I have to recreate this QUdpSocket. Consequently I cannot work with large datagram at all.
2) On any platform. When QAbstractSocket::DatagramTooLargeError occurs than I have to recreate such QUdpSocket too. But this error is bind with the current datagram only. There is no reason to think that this error can be fatal for the socket.