Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7555227
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T11:33:06+00:00 2026-05-30T11:33:06+00:00

Scenarion: VOIP – Sending and Receiving UDP packets at the same time I have

  • 0

Scenarion: VOIP – Sending and Receiving UDP packets at the same time

I have problem when pc connects to itself(for testing purposes). It seems that it looses packets, it doesn’t happen though when connecting to the second machine through router wireless. Which is kinda frustrating as I spent 14 hours just to find out that the problem was not in my logic, but rather in a simple case packets never get received.

I have two laptops different benchmarks, both loose packets when connecting to themselves..

   sender.start();
    receiver.start();

I believe it is something to do with the threading or the nature of NICS. If I remember correctly to either receive or send it changes modes – but because of two threads it can’t keep up with them? Am I incorrect?

Why does this happen?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T11:33:09+00:00Added an answer on May 30, 2026 at 11:33 am

    Since you don’t mention it in your question, I would advise you to try increasing the size of the UDP receive buffers to see if that makes a difference.

    This will also cause less packet loss when running your application over the network (sooner or later packet loss will occur there too).

    AFAICT this can be accomplished in Java using the Socket.setReceiveBufferSize.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Scenario: I have configured SQOOP on my PC. But I am facing some problem
My Problem: I have my requirement of showing the popup window on hover of
I have this scenarion. There are Boards. And Threads. Therads can be created only
I have the following scenarion. Everytime my page loads I create a file. Now
Scenario. Language C#, Unit testing using VS2008 Unit testing framework I have a static
I have encountered below scenarion and I am confused a little on how cond
Evening all I have the following scenarion. I have a range of drop down
I am planning on developing my specific voip app for android. Here's the scenario:
Scenarion: I am having a web application which is going to use SqlServerReport(SSRS) sitting
Scenario: You have an ASP.Net webpage that should display the next image in a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.