Click here to Skip to main content
15,920,704 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Need help. I am trying to implement UDP for transferring file Pin
Hamid_RT15-May-07 0:53
Hamid_RT15-May-07 0:53 
GeneralRe: Need help. I am trying to implement UDP for transferring file Pin
yaminisridaran15-May-07 1:23
yaminisridaran15-May-07 1:23 
GeneralRe: Need help. I am trying to implement UDP for transferring file Pin
Hamid_RT15-May-07 1:51
Hamid_RT15-May-07 1:51 
GeneralRe: Need help. I am trying to implement UDP for transferring file Pin
#realJSOP15-May-07 1:54
professional#realJSOP15-May-07 1:54 
GeneralRe: Need help. I am trying to implement UDP for transferring file Pin
Stephen Hewitt15-May-07 15:16
Stephen Hewitt15-May-07 15:16 
GeneralRe: Need help. I am trying to implement UDP for transferring file Pin
#realJSOP15-May-07 23:19
professional#realJSOP15-May-07 23:19 
GeneralRe: Need help. I am trying to implement UDP for transferring file Pin
Stephen Hewitt16-May-07 13:55
Stephen Hewitt16-May-07 13:55 
GeneralRe: Need help. I am trying to implement UDP for transferring file Pin
Mark Salsbery15-May-07 5:18
Mark Salsbery15-May-07 5:18 
yaminisridaran wrote:
I have to use only UDP


You can do it, but by the time you implement all the checking for dropped datagrams and out-of-
sequence datagrams, you'll have rolled your own TCP Smile | :)

Some tips: UDP datagrams can arrive out of order or not arrive at all. That means every
datagram will need a header containing some kind of info indicating it's position or index or
whatever so you can reassemble the data on the receiving end. You need to be able to resend
datagrams that don't arrive at all and allow for packets arriving out of order. This is the
stuff TCP does for you.

Good luck!
Mark




"Posting a VB.NET question in the C++ forum will end in tears." Chris Maunder

GeneralRe: Need help. I am trying to implement UDP for transferring file Pin
yaminisridaran15-May-07 19:19
yaminisridaran15-May-07 19:19 
GeneralRe: Need help. I am trying to implement UDP for transferring file Pin
Hamid_RT15-May-07 22:01
Hamid_RT15-May-07 22:01 
GeneralRe: Need help. I am trying to implement UDP for transferring file Pin
Rajesh R Subramanian15-May-07 7:12
professionalRajesh R Subramanian15-May-07 7:12 
GeneralRe: Need help. I am trying to implement UDP for transferring file Pin
Moak16-May-07 3:21
Moak16-May-07 3:21 
QuestionDirectory that contains the project file Pin
cad-JC14-May-07 23:25
cad-JC14-May-07 23:25 
AnswerRe: Directory that contains the project file Pin
Arman S.15-May-07 0:30
Arman S.15-May-07 0:30 
GeneralRe: Directory that contains the project file Pin
cad-JC15-May-07 21:37
cad-JC15-May-07 21:37 
AnswerRe: Directory that contains the project file Pin
Nelek15-May-07 0:50
protectorNelek15-May-07 0:50 
GeneralRe: Directory that contains the project file Pin
cad-JC15-May-07 21:33
cad-JC15-May-07 21:33 
AnswerRe: Directory that contains the project file Pin
krmed15-May-07 0:50
krmed15-May-07 0:50 
GeneralRe: Directory that contains the project file Pin
cad-JC15-May-07 21:46
cad-JC15-May-07 21:46 
GeneralRe: Directory that contains the project file Pin
krmed16-May-07 1:46
krmed16-May-07 1:46 
QuestionRe: Directory that contains the project file Pin
cad-JC20-May-07 21:32
cad-JC20-May-07 21:32 
AnswerRe: Directory that contains the project file Pin
krmed21-May-07 1:48
krmed21-May-07 1:48 
Questionpdf creation(in MFC application) Pin
Midhun_M14-May-07 23:01
Midhun_M14-May-07 23:01 
AnswerRe: pdf creation(in MFC application) Pin
Nelek15-May-07 2:55
protectorNelek15-May-07 2:55 
QuestionHow to spawn CDialog by CWinThread? Pin
pkyiu14-May-07 22:59
pkyiu14-May-07 22:59 

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.