Click here to Skip to main content
15,896,118 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Curious COM question - the case of the second exe server... Pin
Rajesh R Subramanian15-May-09 23:23
professionalRajesh R Subramanian15-May-09 23:23 
Questionhi Pin
Mohammadj15-May-09 5:28
Mohammadj15-May-09 5:28 
AnswerRe: hi Pin
David Crow15-May-09 7:04
David Crow15-May-09 7:04 
GeneralWelcome again! Pin
CPallini15-May-09 7:28
mveCPallini15-May-09 7:28 
GeneralRe: hi Pin
Mohammadj15-May-09 9:04
Mohammadj15-May-09 9:04 
AnswerRe: hi Pin
David Crow15-May-09 9:15
David Crow15-May-09 9:15 
GeneralRe: hi Pin
Mohammadj15-May-09 9:30
Mohammadj15-May-09 9:30 
GeneralRe: hi Pin
David Crow15-May-09 9:35
David Crow15-May-09 9:35 
GeneralRe: hi Pin
Mohammadj15-May-09 9:37
Mohammadj15-May-09 9:37 
QuestionRe: hi Pin
David Crow15-May-09 10:17
David Crow15-May-09 10:17 
AnswerRe: hi Pin
Mohammadj15-May-09 10:23
Mohammadj15-May-09 10:23 
QuestionRe: hi Pin
David Crow15-May-09 10:29
David Crow15-May-09 10:29 
AnswerRe: hi Pin
CPallini15-May-09 11:51
mveCPallini15-May-09 11:51 
GeneralRe: hi Pin
Mohammadj15-May-09 22:49
Mohammadj15-May-09 22:49 
QuestionReading a txt file fastly Pin
Raghav071015-May-09 5:09
Raghav071015-May-09 5:09 
AnswerRe: Reading a txt file fastly Pin
led mike15-May-09 5:15
led mike15-May-09 5:15 
AnswerRe: Reading a txt file fastly Pin
«_Superman_»15-May-09 5:17
professional«_Superman_»15-May-09 5:17 
AnswerRe: Reading a txt file fastly Pin
Stuart Dootson15-May-09 5:20
professionalStuart Dootson15-May-09 5:20 
AnswerRe: Reading a txt file fastly Pin
David Crow15-May-09 7:00
David Crow15-May-09 7:00 
AnswerRe: Reading a txt file fastly Pin
Joe Woodbury15-May-09 17:53
professionalJoe Woodbury15-May-09 17:53 
QuestionRe-assembling TCP/IP Packets Pin
Koolski15-May-09 5:02
Koolski15-May-09 5:02 
Hello All,

Sorry in advance for the lengthy explanation...

I have two applications (a server and a client) that talk to each other via TCP/IP. (WinXP to WinXP) I've noticed that if the server runs on a relatively poor performing machine and the TCP/IP traffic is high, that TCP/IP will be smart and combined messages to save on network traffic. My server/client are able to handle that just fine; however, I've recently noticed that in certain circumstances, like over a VPN connection where the network performance is degraded, TCP/IP will not only combined packets, but will also split the packets. That is to say where one packet was sent, two are received. In reality what happens is that four are sent and two are received; the first 3 are combined with 1/2 of the fourth and the other half of the fourth is in the second packet. This wouldn't be a problem except I don't know how to know which packets need to be reconnected and in what order. This seems to only occur when a large number of packets are being sent in rapid succession. TCP/IP does not guarantee that the order sent is the order received. The data that is being sent must pieced together in the correct order for it to be useable.

Is this normal behavior and if so, how do you make the connection between packets?

Thanks in advance.
AnswerRe: Re-assembling TCP/IP Packets Pin
led mike15-May-09 5:12
led mike15-May-09 5:12 
GeneralRe: Re-assembling TCP/IP Packets Pin
Rick York15-May-09 5:59
mveRick York15-May-09 5:59 
AnswerRe: Re-assembling TCP/IP Packets Pin
Robert Surtees16-May-09 2:21
Robert Surtees16-May-09 2:21 
GeneralRe: Re-assembling TCP/IP Packets Pin
Koolski18-May-09 4:25
Koolski18-May-09 4:25 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.