Results 1 to 15 of 15

Thread: [RESOLVED] jamming tcp data :)

Hybrid View

  1. #1
    PowerPoster
    Join Date
    Nov 2002
    Location
    Manila
    Posts
    7,629

    Re: jamming tcp data :)

    Long streams of data are divided into chunks or several data arrivals... so only first chunk of long stream will contain header and be processed, the rest will be ignored.

    If each stream is transmitted on one connection that is closed when send is over then concatenate bytes in data arrivals and process when connection is closed (or stream is completed).

  2. #2
    "Digital Revolution"
    Join Date
    Mar 2005
    Posts
    4,471

    Re: jamming tcp data :)

    You need to store all received data into a buffer. Then process the buffer one 'packet' at a time.

    The length of the packet should be in the header. I remember telling you this in another one or two of your threads.

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Feb 2008
    Posts
    327

    Re: jamming tcp data :)

    Quote Originally Posted by DigiRev
    You need to store all received data into a buffer. Then process the buffer one 'packet' at a time.

    The length of the packet should be in the header. I remember telling you this in another one or two of your threads.
    allrite , thank you . i thought it was a different sort of error..okay i will do as told

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width