|
-
Jun 17th, 2008, 10:09 PM
#1
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).
-
Jun 17th, 2008, 11:00 PM
#2
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.
-
Jun 17th, 2008, 11:16 PM
#3
Thread Starter
Hyperactive Member
Re: jamming tcp data :)
 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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|