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 7822411
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T07:55:05+00:00 2026-06-02T07:55:05+00:00

If I were to send a packet from one computer to another computer, directly

  • 0

If I were to send a packet from one computer to another computer, directly connected via one ethernet cable, is it quicker to constantly poll on the receiving computer with UDP, or use Java RMI for the sender to “give” the packet to the receiving computer?

I was unaware if there was any performance variation?

  • 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-06-02T07:55:06+00:00Added an answer on June 2, 2026 at 7:55 am

    It is generally faster to do UDP, as there is no additional acknowledgement overhead on the transmission, as there is no need to bother with receipt acknowledgements.

    With TCP, there is an acknowledgement transmitted back to the source of the data. Full duplex communications can make the transmission of this acknowledgement occur without disrupting the incoming data stream; however, you do have to wait some amount of time for that acknowledgement to return the the sender, and that sender to process it.

    While both computers are assumed to be fast enough to handle the data stream processing, in the real world computers might find themselves doing multiple tasks which could interrupt ability to handle network traffic at line speeds. In such a scenario, if the transmitting computer cannot receive the acknowledgements quickly enough (or the receiving computer cannot transmit them fast enough) then you may exhaust your window of unacknowledged packets, which would result in the transmitting computer halting transmission until it determined that either what was transmitted would need re-transmission or was received.

    But UDP is no bed of roses, as it’s solution to not acknowledging receipt is to allow any packet to disappear without notice at any time. As such, it is ideal for data that doesn’t need to be transmitted completely (live voice, if it’s dropped it is more important to start with the “now” packet than collect them all), or for data where the retransmission is managed by more efficient application-specific algorithms.

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

Sidebar

Related Questions

I am trying to send audio file from one computer to other using socket
I am trying to send packets from one machine to another using tcpreplay and
so i'm trying to send udp packet to a listening port on a computer
I am sending network packets from one thread and receiving replies on a 2nd
i am use my Winform application to send buffer of packet to my network
I send an email from my smtp server, for example, setting From to anyemail@anydomain.com
We send out registration urls to clients via email. Some of the email clients
We use an embedded device to send packets from a serial port over a
Really simple code that just fires one pcap (packet) using scapy, If I just
I have a C program that do recv/send operations from/to socket using a for(;;)

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.