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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T00:00:20+00:00 2026-05-11T00:00:20+00:00

UDP doesnot sends any ack back, but will it send any response? I have

  • 0

UDP doesnot sends any ack back, but will it send any response?

I have set up client server UDP program. If I give client to send data to non existent server then will client receive any response?

My assumption is as;

Client –>Broadcast server address (ARP) Server –> Reply to client with its mac address(ARP) Client sends data to server (UDP)

In any case Client will only receive ARP response. If server exists or not it will not get any UDP response?

Client is using sendto function to send data. We can get error information after sendto call.

So my question is how this info is available when client doesn’t get any response. Error code can be get from WSAGetLastError.

I tried to send data to non existent host and sendto call succeeded . As per documentation it should fail with return value SOCKET_ERROR.

Any thoughts??

  • 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. 2026-05-11T00:00:20+00:00Added an answer on May 11, 2026 at 12:00 am

    You can never receive an error, or notice for a UDP packet that did not reach destination.

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

Sidebar

Related Questions

I have a simple UDP client server written in C++ on Ubuntu 9.10 where
I have a server and client setup to use UDP communication. For now, I
I have a udp client that is listening for multicast messages. When it gets
I'm writing a UDP multicast client/server pair in C# and I need a delay
I need to write a UDP client in C that generates traffic that will
I read Beej's guide and created a UDP server and client. I first run
hello friends i have created a UDP chatting program through which the clients can
My Twisted-based client sends UDP packets in a loop. Therefore I'm using the class
I have a UDP server that reflects every ping message it receives (this works
I have this TCP server running Because UDP server was able to accept large

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.