Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
D

dliberty

@dliberty
About
Posts
1
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Avoiding UDP client-side packet loss
    D dliberty

    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

    C / C++ / MFC c++ sysadmin question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups