On domingo, 17 de junho de 2012 01.58.56, [email protected] wrote:
> My programm runs under Linux and OS X. And now it gets
> strange and I might miss something important. Under
> Linux I set the package size to 4k. The programm runs
> rock stable. Exactly the same code under OS X causes
> the TV to disconnect after a few seconds. When I reduce
> the package size under OS X to 2k the program again
> runs fine with no problems at all.
>
> I have no idea what could cause the difference. I thought
> I read somewhere that the write buffer size in the socket
> implementation of Qt is unlimited. So I really don't see
> what difference it could make, whether I fill this buffer
> in chunks of 2k or 4k. The TV should read from the buffer

You're right, this should not be an issue.

You need to figure out why the connection disconnected. First of all, use a
traffic analysis tool to figure out which side initiated the disconnection (the
first one to send a FIN or RST packet). Then, on that side, debug the program
to figure out why it decided to disconnect. Look at the backtrace of the
disconnection and see what decisions led to it.

--
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center
     Intel Sweden AB - Registration Number: 556189-6027
     Knarrarnäsgatan 15, 164 40 Kista, Stockholm, Sweden

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Interest mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to