Click here to Skip to main content
15,895,192 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionUsing Reliable UDP Pin
V.G21-Sep-05 1:41
V.G21-Sep-05 1:41 
AnswerRe: Using Reliable UDP Pin
Mohammad A Gdeisat21-Sep-05 5:34
Mohammad A Gdeisat21-Sep-05 5:34 
Hi,

You cant ensure that messages sent over UDP will arrive in the order they were sent in, however, you can add an int (order) to the message structure indicating the order of the sent message, then you can re-arrange these messages according to that number.

To ensure that all messages arrive, implement a hand shaking mechanism. Something like:

1. Send a Message to the other end.
2. Mark it as "did not reach" i your program.
3. If the message reaches its destination, the destination sends an acknowledgment

4. After a predefined timout, if no acknowledment arrives, resend the message with the same order.

Good luck

QuestionUsing ActiveX wrapper class in MFC console Pin
yccheok21-Sep-05 0:12
yccheok21-Sep-05 0:12 
AnswerRe: Using ActiveX wrapper class in MFC console Pin
Calc2021-Sep-05 2:56
Calc2021-Sep-05 2:56 
GeneralRe: Using ActiveX wrapper class in MFC console Pin
yccheok22-Sep-05 15:32
yccheok22-Sep-05 15:32 
QuestionWho have used the component called ProEssentials Pin
sssmmmyyy20-Sep-05 23:58
sssmmmyyy20-Sep-05 23:58 
QuestionHow??Max,size of Dialog Box Pin
a_david12320-Sep-05 23:39
a_david12320-Sep-05 23:39 
AnswerRe: How??Max,size of Dialog Box Pin
John R. Shaw21-Sep-05 0:49
John R. Shaw21-Sep-05 0:49 
AnswerRe: How??Max,size of Dialog Box Pin
bugDanny21-Sep-05 3:00
bugDanny21-Sep-05 3:00 
QuestionDialog inside MDI application Pin
Russell'20-Sep-05 23:31
Russell'20-Sep-05 23:31 
AnswerRe: Dialog inside MDI application Pin
toxcct21-Sep-05 1:22
toxcct21-Sep-05 1:22 
GeneralRe: Dialog inside MDI application Pin
Russell'21-Sep-05 1:40
Russell'21-Sep-05 1:40 
AnswerRe: Dialog inside MDI application Pin
prasad_som21-Sep-05 2:22
prasad_som21-Sep-05 2:22 
GeneralRe: Dialog inside MDI application Pin
Russell'21-Sep-05 4:40
Russell'21-Sep-05 4:40 
GeneralRe: Dialog inside MDI application Pin
David Crow21-Sep-05 6:40
David Crow21-Sep-05 6:40 
AnswerRe: Dialog inside MDI application Pin
prasad_som21-Sep-05 19:20
prasad_som21-Sep-05 19:20 
QuestionSends the specified request to the HTTP server. Pin
tranglt20-Sep-05 23:32
tranglt20-Sep-05 23:32 
QuestionCHtmlView problem Pin
andrewtruckle20-Sep-05 23:29
andrewtruckle20-Sep-05 23:29 
AnswerRe: CHtmlView problem Pin
andrewtruckle21-Sep-05 3:19
andrewtruckle21-Sep-05 3:19 
QuestionTitleBar Font Pin
Nishad S20-Sep-05 23:04
Nishad S20-Sep-05 23:04 
AnswerRe: TitleBar Font Pin
Rage21-Sep-05 3:26
professionalRage21-Sep-05 3:26 
QuestionHow to close a sheet when click a btn in a page Pin
followait20-Sep-05 22:54
followait20-Sep-05 22:54 
AnswerRe: How to close a sheet when click a btn in a page Pin
Ghasrfakhri20-Sep-05 23:29
Ghasrfakhri20-Sep-05 23:29 
GeneralRe: How to close a sheet when click a btn in a page Pin
followait21-Sep-05 4:44
followait21-Sep-05 4:44 
GeneralRe: How to close a sheet when click a btn in a page Pin
Ghasrfakhri21-Sep-05 5:07
Ghasrfakhri21-Sep-05 5:07 

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.