Results 1 to 20 of 21

Thread: TCPSocket/Server

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #2
    Join Date
    Feb 2006
    Location
    Romania
    Posts
    2,744
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    8
    Thanked 541 Times in 521 Posts

    Default Re: TCPSocket/Server

    Oh, I see you posted some code .
    The code seems ok.
    Try comparing the file size(as reported by a file browser) with the size you read in the client and with totalbytes from the server.
    Which is the wrong one?

    Also, in the client, test the return values of writeRawData and waitForBytesWritten. Do they ever return -1?

    Regards

  2. The following user says thank you to marcel for this useful post:

    TheGrimace (10th August 2007)

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.