Re: Losing UDP packets with MFC Sockets
- From: "Gopalakrishnan" <mailtogops@xxxxxxxxxxxxxxxxxx>
- Date: Thu, 14 Apr 2005 02:29:12 -0700
Vicent Soler,
1. You said, you are loosing UDP packets when the CPU utilization is 100%.
If any other application or any threads (if you use) in yoru application
takes 100% of the CPU time, obviously you will lose UDP packets. Becasue
nobody there to receive inputs from the network.
Why don't you try to find which process/application takes 100% of the CPU
time and justify is it required or not.
2. If you want to clear the packets from the network, use separate thread,
basically worker thread, to collect the packets from the network and store
them in to a queue. Later you can get the packets from the queue.
3. Setting your thread priority higher might help you
4. Setting your process priority higher might help you.
Wish you all the best.
Thanks & Regards,
Gopalakrishnan
.
- References:
- Losing UDP packets with MFC Sockets
- From: Vicent Soler
- Re: Losing UDP packets with MFC Sockets
- From: Scott McPhillips [MVP]
- Re: Losing UDP packets with MFC Sockets
- From: Vicent Soler
- Losing UDP packets with MFC Sockets
- Prev by Date: Re: Drawing trackbar thumbs
- Next by Date: Re: SetForegroundWindow not working?
- Previous by thread: Re: Losing UDP packets with MFC Sockets
- Next by thread: Re: Losing UDP packets with MFC Sockets
- Index(es):
Relevant Pages
|