> From: "[email protected]" <[email protected]> >I have a question, which might not be directly Qt related. >I am writing an application, which streams a move to my TV. >The connection is initiated from the TV via TCP/IP. QTcpSocket >is used. For certain reasons I send my data in packages even >though it is TCP and not UDP. But since packages are sent >continuously it is a constant data stream. So far, so good. > >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.
[snip] >Anyone an idea what the problem could be? Unfortunately I >cannot get any feedback from the TV. Something related to >different network cards perhaps? Sounds like a difference in the OS's TCP configuration. Even if Qt's internal buffering is unlimited, the OS buffering still matters and can change from machine to machine, even under the same OS. $0.02 Ben _______________________________________________ Interest mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/interest
