Why are packets being lost when using UDP socket?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Eng Born

    Why are packets being lost when using UDP socket?

    Greeting,

    I am using 2 PC connected to Netgear router. So, UDP should be as reliable as regular socket. I am using QT C++ SDK to write the program. Both PC run on Window 7.

    Are there any explanation why some packets are lost?

    Thanks,
    Eng
  • Sean Pedersen
    New Member
    • Dec 2010
    • 30

    #2
    UDP is a broadcast mode. TCP is more reliable because it requires a "handshake" between the client and server, while broadcast packets don't.

    Comment

    Working...