Re: [Interest] Strange socket problem. QTcpSocket. Windows/Linux

2014-01-30 Thread Hamish Moffatt
On 29/01/14 19:48, Guido Seifert wrote: > >> Can you say what is happening at the TCP level? Are the packets being sent? >> Do >> they have the PSH flag set? Does the TV send back ACK packets? > To tell you the truth, I don't know. This is normally a bit too low-level for > me. > More or less

Re: [Interest] Strange socket problem. QTcpSocket. Windows/Linux

2014-01-29 Thread Thiago Macieira
On quarta-feira, 29 de janeiro de 2014 09:48:44, Guido Seifert wrote: > > Can you say what is happening at the TCP level? Are the packets being > > sent? Do they have the PSH flag set? Does the TV send back ACK packets? > > To tell you the truth, I don't know. This is normally a bit too low-level

Re: [Interest] Strange socket problem. QTcpSocket. Windows/Linux

2014-01-29 Thread Guido Seifert
> Can you say what is happening at the TCP level? Are the packets being sent? > Do > they have the PSH flag set? Does the TV send back ACK packets? To tell you the truth, I don't know. This is normally a bit too low-level for me. More or less I moved on, because even if I had seen a problem

Re: [Interest] Strange socket problem. QTcpSocket. Windows/Linux

2014-01-29 Thread Thiago Macieira
On terça-feira, 28 de janeiro de 2014 10:01:11, Guido Seifert wrote: > After 3 - 10 resubscriptions the socket is dead. It takes data, seems to be > in perfect working order, but the Samsung does not react. Same when I send > play and stop UPnP commands. Works several times, then I get socket erro

Re: [Interest] Strange socket problem. QTcpSocket. Windows/Linux

2014-01-28 Thread Guido Seifert
> Do we know that Samsung didn't do that? (except that if they had, it would > probably work well ;-) Actually it is a Linux that is running in Samsung TVs. Maybe it is not the firmware, but the hardware? > Anyway, if you are already researching with wireshark, you can find some uPnP > soft

Re: [Interest] Strange socket problem. QTcpSocket. Windows/Linux

2014-01-28 Thread Thiago Macieira
On terça-feira, 28 de janeiro de 2014 08:24:16, Rutledge Shawn wrote: > On 27 Jan 2014, at 4:38 PM, Thiago Macieira wrote: > > That's why companies are moving away from custom or specialised embedded > > OS to just running Linux on their hardware. > > Do we know that Samsung didn't do that? (exce

Re: [Interest] Strange socket problem. QTcpSocket. Windows/Linux

2014-01-28 Thread Rutledge Shawn
On 27 Jan 2014, at 4:38 PM, Thiago Macieira wrote: > > That's why companies are moving away from custom or specialised embedded OS > to > just running Linux on their hardware. Do we know that Samsung didn't do that? (except that if they had, it would probably work well ;-) Anyway, if you ar

Re: [Interest] Strange socket problem. QTcpSocket. Windows/Linux

2014-01-27 Thread Thiago Macieira
On segunda-feira, 27 de janeiro de 2014 10:24:22, Guido Seifert wrote: > > 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. > > Yes, do you know if there is anything I can do? I don't see many options in >

Re: [Interest] Strange socket problem. QTcpSocket. Windows/Linux

2014-01-27 Thread Guido Seifert
> 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. Yes, do you know if there is anything I can do? I don't see many options in QTcpSocket. What could be the difference between a Windows and a Linux socke

Re: [Interest] Strange socket problem. QTcpSocket. Windows/Linux

2014-01-27 Thread Thiago Macieira
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 wit

[Interest] Strange socket problem. QTcpSocket. Windows/Linux

2014-01-26 Thread Guido Seifert
Hi all. I have again a very strange problem. And again no sufficient information to share here or to google. It might only be peripherally related to Qt. But perhaps someone recognizes this problem and can give me a hint. I am writing a UPnP application for Samsung TVs. This application writes U