search for: q_check_valid_socketlayer

Displaying 2 results from an estimated 2 matches for "q_check_valid_socketlayer".

2016 Apr 10
2
UDP de-fragmentation problem
On 09.04.2016 21:40, Marcelo Ricardo Leitner wrote: > Hi, > > Em 07-04-2016 12:19, Volker escreveu: >> Hi all. >> >> I have a strange problem at hand regarding UDP fragmentation on Centos7: >> Applications are unable to receive UDP packets which have undergone >> fragmentation UNLESS the netfilter modules are loaded. >> >> The problem arose on a
2016 Apr 11
0
UDP de-fragmentation problem
...be for more data, the while condition, but it still peeked the socket. I think it's because of this Qt code: qint64 QNativeSocketEngine::readDatagram(char *data, qint64 maxSize, QHostAddress *address, quint16 *port) { Q_D(QNativeSocketEngine); Q_CHECK_VALID_SOCKETLAYER(QNativeSocketEngine::readDatagram(), -1); Q_CHECK_TYPE(QNativeSocketEngine::readDatagram(), QAbstractSocket::UdpSocket, false); <---- return d->nativeReceiveDatagram(data, maxSize, address, port); } So I'm afraid there is no way around this issue...