[Interest] Strange socket problem. QTcpSocket. Windows/Linux
Thiago Macieira
thiago.macieira at intel.com
Mon Jan 27 09:53:44 CET 2014
On segunda-feira, 27 de janeiro de 2014 07:35:05, Guido Seifert wrote:
> On Window the D series behaves strangely. I send a UPnP command to it and it
> responds... or not. Totally unreliable. Very often I get a very unhelpful
> error message: QAbstractSocket::error = -1. I can hammer the socket with
> the same data and sometimes I get after a while the correct response.
>
> Now I checked with wireshark. Windows and Linux send exactly the same data.
> At least the ascii part, which is the UPnP command. The data itself is
> correct. As I said: It always works for the E series and from Linux it also
> works for the D series.
>
> There must be something different how QTcpSocket opens a connection from
> Windows and from Linux. Any ideas?
My guess is that the TCP/IP stack on the D series TV is broken and is somehow
failing to deal with the packets from the Windows machine.
--
Thiago Macieira - thiago.macieira (AT) intel.com
Software Architect - Intel Open Source Technology Center
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20140127/1ef68556/attachment.sig>
More information about the Interest
mailing list