Thread: Reading only most current packet

  1. #1
    Registered User
    Join Date
    Oct 2001
    Posts
    224

    Reading only most current packet

    is there a way to only read the most current packet in a line up or only certain packets?

  2. #2
    Registered User
    Join Date
    Jan 2005
    Posts
    847
    Data is not guaranteed to arive in the exact same packets as it was sent. It will however arive in the same order. You can read in all waiting data into a buffer and handle whichever peice of information you want.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Packet processing in Socket programming, please help
    By pumpkin in forum Networking/Device Communication
    Replies: 5
    Last Post: 05-28-2009, 01:33 AM
  2. How to make a Packet sniffer/filter?
    By shown in forum C++ Programming
    Replies: 2
    Last Post: 02-22-2009, 09:51 PM
  3. Need help with program.
    By olgirl4life in forum C++ Programming
    Replies: 3
    Last Post: 12-11-2006, 11:06 PM
  4. BST delete again, but this time I think I'm close
    By tms43 in forum C++ Programming
    Replies: 9
    Last Post: 11-05-2006, 06:24 PM
  5. file reading
    By bazzano in forum C Programming
    Replies: 2
    Last Post: 05-17-2006, 04:57 PM