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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T22:59:25+00:00 2026-05-26T22:59:25+00:00

This is my first foray into UDP socket programming. Without getting into the details

  • 0

This is my first foray into UDP socket programming. Without getting into the details of the program, the server basically sends n messages of a set size to the client. I have written and ran the code, and it looks like all my messages are getting through to the client in exactly the order that the server sends them. Does this make any sense? It is my understanding that using UDP, the packets sent are not always delivered and not always delivered in the same order. If so, then why is the client program receiving all of the server messages in the same order and never losing any? I have experimented with different message numbers (e.g. sending 200 or 500 messages) and different message sizes. I am not using threads or anything like that. Just set up a loop for the server to send the packets one by one and the client just waits in an infinite loop to receive them. Insight from the more experienced people out there would be very helpful!

  • 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-26T22:59:26+00:00Added an answer on May 26, 2026 at 10:59 pm

    UDP is not guaranteed to be delivered or in order. That doesn’t mean that it won’t be, especially in your case where I assume your client and server are on the same machine (or on the same local network).

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

Sidebar

Related Questions

This is my first foray into designing two versions of images for retina or
I've worked with CakePHP 1.3, but this is my first foray into CakePHP 2.0
This is my first foray into the world of Objective-c images and I immediately
This is my first foray into using an MVC construct (CodeIgniter). I'm hoping someone
This is my first foray into shell scripting so if i'm asking a very
I'm not a newb to JavaScript but this is my first foray into Acrobat
I'm not an expert on this, this is my first foray into creating a
I'm a (near complete) beginner, and this is my first foray into encryption -
This is my first foray into OO JS, having issues. Ideally in this scenario,
Well, this is my first foray into memory profiling a .NET app (CPU tuning

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.