96 reinterpret_cast<sockaddr*> (&claddr), &socklen); |
96 reinterpret_cast<sockaddr*> (&claddr), &socklen); |
97 |
97 |
98 if (length == -1) |
98 if (length == -1) |
99 { |
99 { |
100 if (errno != EWOULDBLOCK) |
100 if (errno != EWOULDBLOCK) |
101 m_error.sprintf ("recvfrom error: %s", strerror (errno)); |
101 m_error = String ("recvfrom error: ") + strerror (errno); |
102 |
102 |
103 return false; |
103 return false; |
104 } |
104 } |
105 |
105 |
106 unsigned char decodedPacket[MAX_DATAGRAM_LENGTH]; |
106 unsigned char decodedPacket[MAX_DATAGRAM_LENGTH]; |