Results 1 to 7 of 7

Thread: QTcpServer not reading as fast a QTcpSocket writing.

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Apr 2006
    Posts
    122
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11
    Thanks
    18

    Default Re: QTcpServer not reading as fast a QTcpSocket writing.

    NO it is a uniprocessor p4 machine.
    Als o itried something else. In above posted client code , i am writing twice simultaneously to the socket( line 15). I changed this. I made a string of both x and y and write it socket. Now this is working fine. But i still has not got reason for previous behaviour.
    Last edited by quickNitin; 4th July 2006 at 06:33. Reason: addition

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,373
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Thanks
    3
    Thanked 5,019 Times in 4,795 Posts
    Wiki edits
    10

    Default Re: QTcpServer not reading as fast a QTcpSocket writing.

    Quote Originally Posted by quickNitin
    NO it is a uniprocessor p4 machine.
    So how do you expect two processes to be executed simoultaneously? There will always be delays between different processes, because they get different time shares of the CPU.

  3. The following user says thank you to wysota for this useful post:

    quickNitin (4th July 2006)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.