Click here to Skip to main content
15,921,295 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralWorking with decimal type in C++ Pin
paulb4-Feb-03 11:47
paulb4-Feb-03 11:47 
GeneralRe: Working with decimal type in C++ Pin
Anders Molin4-Feb-03 11:50
professionalAnders Molin4-Feb-03 11:50 
GeneralRe: Working with decimal type in C++ Pin
Nitron4-Feb-03 13:36
Nitron4-Feb-03 13:36 
QuestionDoh.. Why no 3D look!? Pin
Rickard Andersson204-Feb-03 11:27
Rickard Andersson204-Feb-03 11:27 
AnswerRe: Doh.. Why no 3D look!? Pin
Zoltan Csizmadia4-Feb-03 11:31
Zoltan Csizmadia4-Feb-03 11:31 
GeneralRe: Doh.. Why no 3D look!? Pin
Rickard Andersson204-Feb-03 11:39
Rickard Andersson204-Feb-03 11:39 
GeneralRe: Doh.. Why no 3D look!? Pin
PJ Arends4-Feb-03 12:38
professionalPJ Arends4-Feb-03 12:38 
GeneralAvoiding UDP client-side packet loss Pin
dliberty4-Feb-03 10:51
dliberty4-Feb-03 10:51 
Hi,

I'm trying to write a simple UDP client application which receives UDP
packets from a server, each the size of 384 bytes. Unfortunately, I'm
encountring what seems to be client-side packet loss, which gets only worse
when multiple threads are added to the application. This is not a result of
high CPU usage, since the CPU usage is only a few percent. I can only assume
that the packet loss is a result of context switching done by the OS, and my
application not being able to receive the packets on time.
I'm using VC++ on win2k, and the winsock2 functions in the platform SDK to
create a socket and receive UDP packets from a specified port. I've tried
setting the process & thread to time critical, which does have an
improvement, but the packet loss continues.
Is there any way to avoid client-side UDP packet loss ??
Ideas / code examples would be greatly appreciated !


Danny

GeneralRe: Avoiding UDP client-side packet loss Pin
Stefan Pedersen4-Feb-03 11:17
Stefan Pedersen4-Feb-03 11:17 
GeneralRe: Avoiding UDP client-side packet loss Pin
Joaquín M López Muñoz4-Feb-03 11:41
Joaquín M López Muñoz4-Feb-03 11:41 
GeneralRe: Avoiding UDP client-side packet loss Pin
Stefan Pedersen4-Feb-03 12:37
Stefan Pedersen4-Feb-03 12:37 
GeneralRe: Avoiding UDP client-side packet loss Pin
Zoltan Csizmadia4-Feb-03 11:16
Zoltan Csizmadia4-Feb-03 11:16 
GeneralRe: Avoiding UDP client-side packet loss Pin
Zoltan Csizmadia4-Feb-03 11:18
Zoltan Csizmadia4-Feb-03 11:18 
GeneralRe: Avoiding UDP client-side packet loss Pin
Gisle Vanem5-Feb-03 0:39
Gisle Vanem5-Feb-03 0:39 
GeneralCan't use \n in my Edit box!! Pin
Rickard Andersson204-Feb-03 10:43
Rickard Andersson204-Feb-03 10:43 
GeneralRe: Can't use \n in my Edit box!! Pin
Gary Kirkham4-Feb-03 10:45
Gary Kirkham4-Feb-03 10:45 
GeneralRe: Can't use \n in my Edit box!! Pin
Alvaro Mendez4-Feb-03 10:46
Alvaro Mendez4-Feb-03 10:46 
QuestionCan somebody help me please? Pin
MemLeak4-Feb-03 10:12
MemLeak4-Feb-03 10:12 
AnswerRe: Can somebody help me please? Pin
includeh106-Feb-03 0:04
includeh106-Feb-03 0:04 
GeneralMathematical Overflow Pin
Dov Sherman4-Feb-03 10:10
Dov Sherman4-Feb-03 10:10 
GeneralRe: Mathematical Overflow Pin
Tim Smith4-Feb-03 10:25
Tim Smith4-Feb-03 10:25 
GeneralRe: Mathematical Overflow Pin
Alvaro Mendez4-Feb-03 10:39
Alvaro Mendez4-Feb-03 10:39 
GeneralRe: Mathematical Overflow Pin
eddie.breeveld28-Sep-04 1:51
eddie.breeveld28-Sep-04 1:51 
GeneralRe: Mathematical Overflow Pin
Joaquín M López Muñoz4-Feb-03 10:49
Joaquín M López Muñoz4-Feb-03 10:49 
GeneralRe: Mathematical Overflow Pin
nde_plume4-Feb-03 11:26
nde_plume4-Feb-03 11:26 

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.