Click here to Skip to main content
15,887,381 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
QuestionDoes a Class having a message map need to be derived from CWnd ???? Pin
ForNow15-May-09 3:18
ForNow15-May-09 3:18 
AnswerRe: Does a Class having a message map need to be derived from CWnd ???? Pin
«_Superman_»15-May-09 5:11
professional«_Superman_»15-May-09 5:11 
GeneralRe: Does a Class having a message map need to be derived from CWnd ???? Pin
ForNow15-May-09 6:03
ForNow15-May-09 6:03 
GeneralRe: Does a Class having a message map need to be derived from CWnd ???? Pin
David Crow15-May-09 7:07
David Crow15-May-09 7:07 
GeneralRe: Does a Class having a message map need to be derived from CWnd ???? Pin
«_Superman_»15-May-09 20:36
professional«_Superman_»15-May-09 20:36 
GeneralRe: Does a Class having a message map need to be derived from CWnd ???? Pin
ForNow16-May-09 15:37
ForNow16-May-09 15:37 
QuestionRe: Does a Class having a message map need to be derived from CWnd ???? Pin
David Crow15-May-09 7:12
David Crow15-May-09 7:12 
AnswerRe: Does a Class having a message map need to be derived from CWnd ???? Pin
ForNow15-May-09 8:58
ForNow15-May-09 8:58 
QuestionHi.How to Include English dicitionary in visual c++ Pin
Sakthi.Gs :-)15-May-09 2:44
Sakthi.Gs :-)15-May-09 2:44 
AnswerRe: Hi.How to Include English dicitionary in visual c++ Pin
bolivar12315-May-09 3:13
bolivar12315-May-09 3:13 
GeneralRe: Hi.How to Include English dicitionary in visual c++ Pin
CPallini15-May-09 3:22
mveCPallini15-May-09 3:22 
GeneralRe: Hi.How to Include English dicitionary in visual c++ Pin
Maximilien15-May-09 3:58
Maximilien15-May-09 3:58 
GeneralRe: Hi.How to Include English dicitionary in visual c++ -- ITS URGENT Pin
bolivar12315-May-09 5:39
bolivar12315-May-09 5:39 

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.