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

C / C++ / MFC

 
GeneralRe: how to edit open dialog box Pin
andy1793941-Jun-06 17:21
andy1793941-Jun-06 17:21 
GeneralRe: how to edit open dialog box Pin
David Crow2-Jun-06 3:01
David Crow2-Jun-06 3:01 
QuestionGet filename from Ftp! Pin
bahamutnice31-May-06 23:32
bahamutnice31-May-06 23:32 
QuestionRe: Get filename from Ftp! Pin
David Crow1-Jun-06 3:44
David Crow1-Jun-06 3:44 
AnswerRe: Get filename from Ftp! Pin
bahamutnice1-Jun-06 16:01
bahamutnice1-Jun-06 16:01 
QuestionRe: Get filename from Ftp! Pin
David Crow2-Jun-06 3:14
David Crow2-Jun-06 3:14 
QuestionSocket Programming Pin
satsumatable31-May-06 23:26
satsumatable31-May-06 23:26 
AnswerRe: Socket Programming Pin
Roger Stoltz1-Jun-06 0:06
Roger Stoltz1-Jun-06 0:06 
All IP-packets are sent with a CRC32 checksum that the receiver recalculates to validate the data. If the checksum is incorrect, the packet is discarded.
This happens regardless of what you do, it's how the IP-protocol works.

If you're using an UDP ports, the sender will never be informed whether the receiver got the packet or not, at any OSI level, since UDP traffic is connectionless.

If you're using TCP ports, the sender will be sent an ACK for each packet. Whether the packet is to be resent or not is depending on a configurable threshold in the registry found at HKEY_LOCAL_MACHINE/SYSTEM/currentcontrolset/services/tcpip/parameters.

This means that the sender cannot be informed if the receiver got a corrupt packet since the receiving application will never get the packet since it's been discarded.
I suggest you implement a small protocol of your own at the OSI application level that send ACKs to the sender's application. You will then be informed if the receiver never got the packet by the absence of an ACK.

Hope this helps
--
Roger


It's supposed to be hard, otherwise anybody could do it!

Regarding CodeProject: "resistance is pointless; you will be assimilated"

AnswerRe: Socket Programming Pin
ThatsAlok1-Jun-06 0:28
ThatsAlok1-Jun-06 0:28 
AnswerRe: Socket Programming Pin
Moak1-Jun-06 6:36
Moak1-Jun-06 6:36 
QuestionProblem with VS 2003 Pin
NiceNaidu31-May-06 23:18
NiceNaidu31-May-06 23:18 
AnswerRe: Problem with VS 2003 Pin
toxcct31-May-06 23:34
toxcct31-May-06 23:34 
GeneralRe: Problem with VS 2003 Pin
NiceNaidu31-May-06 23:50
NiceNaidu31-May-06 23:50 
GeneralRe: Problem with VS 2003 Pin
toxcct31-May-06 23:51
toxcct31-May-06 23:51 
GeneralRe: Problem with VS 2003 Pin
NiceNaidu1-Jun-06 0:00
NiceNaidu1-Jun-06 0:00 
GeneralRe: Problem with VS 2003 Pin
toxcct1-Jun-06 0:02
toxcct1-Jun-06 0:02 
GeneralRe: Problem with VS 2003 Pin
Sarath C31-May-06 23:54
Sarath C31-May-06 23:54 
GeneralRe: Problem with VS 2003 Pin
toxcct31-May-06 23:56
toxcct31-May-06 23:56 
GeneralRe: Problem with VS 2003 Pin
NiceNaidu1-Jun-06 0:13
NiceNaidu1-Jun-06 0:13 
GeneralRe: Problem with VS 2003 Pin
NiceNaidu1-Jun-06 0:24
NiceNaidu1-Jun-06 0:24 
QuestionRe: Problem with VS 2003 Pin
David Crow1-Jun-06 3:45
David Crow1-Jun-06 3:45 
QuestionHow to handle Blank Frame when recording a video Pin
huutribk200131-May-06 22:59
huutribk200131-May-06 22:59 
QuestionCreateProcessAsUserW fails in Windows 2003 64 bits Pin
alvaro31-May-06 22:58
alvaro31-May-06 22:58 
QuestionWindows Detruction Woes Pin
HakunaMatada31-May-06 22:41
HakunaMatada31-May-06 22:41 
AnswerRe: Windows Detruction Woes Pin
Nibu babu thomas31-May-06 23:10
Nibu babu thomas31-May-06 23:10 

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.