Solved

tcp receive and de-packaging

Posted on 2013-06-14
1
377 Views
Last Modified: 2013-06-22
Need to receive a tcp stream about 25Mbyte/s, then assemble into individual package by protocol definition.

The first thing is how should I read the tcp socket, how long time interval should be each read. Now I set as 1ms.

There are different tcp reading mode, which mode is better, I set as immediate reading as timeout.

Also, normally how to assemble these packages, and for one of the protocol definition, the package length 41256.

Any suggestion, thanks.
0
Comment
Question by:turbot_yu
1 Comment
 
LVL 15

Accepted Solution

by:
Minh Võ Công earned 500 total points
ID: 39253413
0

Featured Post

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Creating an OSPF network that automatically (dynamically) reroutes network traffic over other connections to prevent network downtime.
Entering a date in Microsoft Access can be tricky. A typo can cause month and day to be shuffled, entering the day only causes an error, as does entering, say, day 31 in June. This article shows how an inputmask supported by code can help the user a…
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question