Solved

tcp receive and de-packaging

Posted on 2013-06-14
1
379 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

Connect further...control easier

With the ATEN CE624, you can now enjoy a high-quality visual experience powered by HDBaseT technology and the convenience of a single Cat6 cable to transmit uncompressed video with zero latency and multi-streaming for dual-view applications where remote access is required.

Question has a verified solution.

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

Suggested Solutions

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…
A short article about problems I had with the new location API and permissions in Marshmallow
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…
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.

808 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