Results 1 to 20 of 25

Thread: Formatting a packet with different types then send it over TCP

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #18
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: Formatting a packet with different types then send it over TCP

    So what happens in the second while loop if all your bytes arrived at once and were available when you entered the routine? What about if only some of the message bytes have been received? What if some of the bytes are delayed?

    Have you set a breakpoint and single-stepped this?
    Last edited by ChrisW67; 10th June 2011 at 02:48.

Similar Threads

  1. MAC address of UDP packet's sender
    By mastupristi in forum Qt Programming
    Replies: 3
    Last Post: 31st January 2011, 13:12
  2. Replies: 4
    Last Post: 10th December 2009, 16:37
  3. Packet getting fragmented when sending over QTcpSocket
    By arturo182 in forum Qt Programming
    Replies: 14
    Last Post: 5th August 2009, 23:11
  4. how to send ICMP packet
    By eleanor in forum Qt Programming
    Replies: 2
    Last Post: 30th October 2007, 14:23
  5. QtNetwork send ICMP Packet
    By SlowTree in forum Qt Programming
    Replies: 3
    Last Post: 29th October 2007, 20:13

Tags for this Thread

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.