Click here to Skip to main content
15,914,163 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Anyone here want to earn some money by writing a few small programs fhat i need for my introductary C++ class? Pin
Prakash Nadar4-Dec-03 18:59
Prakash Nadar4-Dec-03 18:59 
AnswerRe: Anyone here want to earn some money by writing a few small programs fhat i need for my introductary C++ class? Pin
фил4-Dec-03 21:05
фил4-Dec-03 21:05 
AnswerRe: Anyone here want to earn some money by writing a few small programs fhat i need for my introductary C++ class? Pin
Abebe4-Dec-03 21:24
Abebe4-Dec-03 21:24 
AnswerRe: Anyone here want to earn some money by writing a few small programs fhat i need for my introductary C++ class? Pin
Roger Wright4-Dec-03 22:10
professionalRoger Wright4-Dec-03 22:10 
GeneralRe: Anyone here want to earn some money by writing a few small programs fhat i need for my introductary C++ class? Pin
KaЯl5-Dec-03 2:04
KaЯl5-Dec-03 2:04 
GeneralRe: Anyone here want to earn some money by writing a few small programs fhat i need for my introductary C++ class? Pin
Roger Wright5-Dec-03 4:58
professionalRoger Wright5-Dec-03 4:58 
GeneralRe: Anyone here want to earn some money by writing a few small programs fhat i need for my introductary C++ class? Pin
Jörgen Sigvardsson6-Dec-03 2:10
Jörgen Sigvardsson6-Dec-03 2:10 
GeneralThe synchronization issue on sending and receiving data via UDP Multicast... Pin
JoeZhang4-Dec-03 16:33
JoeZhang4-Dec-03 16:33 
Hi, there... I’m now getting a problem:

In my current Winsock2-based application, I need to deliver lots of data from the Server side to more Client sides via the UDP multicast mode. However, one or more Client sides cannot receive some data blocks sometimes After a hard debug process, I found the program is: the Server multicasts the data too fast, and the Client cannot receive all the sent blocks of data in time, i.e., the process speed of Client is more slower than the Server, some block of data is overcastted by the next block before the Client gets it At this time, to avoid this, I delay some time using the Sleep API after each block of data sent on the Server side.

Though that’s not a best way, it works. But another program brings out – It’s hard to know how long I exactly delay: if the delay is too long, the more unnecessary time used to deliver; if it’s too short, some Clients may still lost some blocks of – It’s just hard to control the delay time after each block of data sent 

Does anyone can tell me another better way to synchronize the speed of sending and receiving data on both Server side and Client sides?

Thanks!


GeneralRe: The synchronization issue on sending and receiving data via UDP Multicast... Pin
Roger Wright4-Dec-03 18:05
professionalRoger Wright4-Dec-03 18:05 
GeneralRe: The synchronization issue on sending and receiving data via UDP Multicast... Pin
Johnny ²4-Dec-03 21:35
Johnny ²4-Dec-03 21:35 
GeneralRe: The synchronization issue on sending and receiving data via UDP Multicast... Pin
JoeZhang4-Dec-03 22:04
JoeZhang4-Dec-03 22:04 
GeneralRe: The synchronization issue on sending and receiving data via UDP Multicast... Pin
Mike Dimmick4-Dec-03 23:55
Mike Dimmick4-Dec-03 23:55 
GeneralMultithreaded QuickSort Pin
Robert Buldoc4-Dec-03 16:29
Robert Buldoc4-Dec-03 16:29 
GeneralRe: Multithreaded QuickSort Pin
Xiangyang Liu 刘向阳8-Dec-03 1:13
Xiangyang Liu 刘向阳8-Dec-03 1:13 
QuestionThe Trouble with List Controls(CListCtrl)?? Pin
MissingLinkError4-Dec-03 16:23
MissingLinkError4-Dec-03 16:23 
AnswerRe: The Trouble with List Controls(CListCtrl)?? Pin
Abin4-Dec-03 20:18
Abin4-Dec-03 20:18 
GeneralRe: The Trouble with List Controls(CListCtrl)?? Pin
MissingLinkError5-Dec-03 9:32
MissingLinkError5-Dec-03 9:32 
Generalcontinuous voice problem Pin
yingkou4-Dec-03 15:46
yingkou4-Dec-03 15:46 
GeneralOpenGL problem on XP, wglMakeCurrent changes tooltips behavior for windows desktop Pin
Yawar Maajed4-Dec-03 14:20
Yawar Maajed4-Dec-03 14:20 
GeneralWaitForMultipleObjects always returns WAIT_FAILED Pin
Kuniva4-Dec-03 10:50
Kuniva4-Dec-03 10:50 
GeneralRe: WaitForMultipleObjects always returns WAIT_FAILED Pin
Kelly Herald4-Dec-03 17:52
Kelly Herald4-Dec-03 17:52 
GeneralRe: WaitForMultipleObjects always returns WAIT_FAILED Pin
Kuniva5-Dec-03 0:19
Kuniva5-Dec-03 0:19 
GeneralRe: WaitForMultipleObjects always returns WAIT_FAILED Pin
Kuniva5-Dec-03 0:30
Kuniva5-Dec-03 0:30 
GeneralRe: WaitForMultipleObjects always returns WAIT_FAILED Pin
Mike Dimmick5-Dec-03 0:02
Mike Dimmick5-Dec-03 0:02 
GeneralRe: WaitForMultipleObjects always returns WAIT_FAILED Pin
Kuniva5-Dec-03 0:18
Kuniva5-Dec-03 0:18 

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.