• Post Reply Bookmark Topic Watch Topic
  • New Topic

loosing UDP packets in Multithreaded environment  RSS feed

 
Ajay Xavier
Ranch Hand
Posts: 109
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,

I am working with Datagram sockets in a multithreaded environment. Initially there was no packet loss. when i increased the number of the threads (say twice the number of previous threads) i start loosing the UDP packets.

what could be the reason for this packet loss? i haven't changed any of my other network parametrs(Lan speed etc).

Thanks in advance.
 
Dave Wingate
Ranch Hand
Posts: 262
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can't give you a panacea for your dropped UDP packets. But I can suggest that dropped packets in UDP are not surprising since their delivery is not confirmed. If packet loss is really causing problems for you, then maybe you should consider TCP instead.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!