Re: [Development] There is the wrong behavior with QUdpSocket && EAGAIN on *nix?

2017-03-02 Thread Thiago Macieira
Em quarta-feira, 1 de março de 2017, às 22:43:40 PST, Denis Shienkov escreveu: > is a solution with QUdpSocket? > > > ...unless QUdpSocket already creates one on that socket. The event > > dispatcher > > does not allow two QSN on the same socket, with the same type. If that > > happens, let us

Re: [Development] There is the wrong behavior with QUdpSocket && EAGAIN on *nix?

2017-03-01 Thread Konstantin Tokarev
01.03.2017, 13:28, "Denis Shienkov" : > Hi all, > > I have use Qt 5.8, and I want to send to the UDP socket many datagrams > (e.g. 1 datagrams, each datagram have 1000 bytes size). Totally unrelated to your main issue, but make sure you are using connected UDP

Re: [Development] There is the wrong behavior with QUdpSocket && EAGAIN on *nix?

2017-03-01 Thread Thiago Macieira
Em quarta-feira, 1 de março de 2017, às 02:27:54 PST, Denis Shienkov escreveu: > Hi all, > > I have use Qt 5.8, and I want to send to the UDP socket many datagrams > (e.g. 1 datagrams, each datagram have 1000 bytes size). > > I use following code: > > int busyCounter = 0; >

[Development] There is the wrong behavior with QUdpSocket && EAGAIN on *nix?

2017-03-01 Thread Denis Shienkov
Hi all, I have use Qt 5.8, and I want to send to the UDP socket many datagrams (e.g. 1 datagrams, each datagram have 1000 bytes size). I use following code: int busyCounter = 0; for(;;) { ... const QNetworkDatagram datagram(data, m_remoteAddress,