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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T18:30:39+00:00 2026-05-14T18:30:39+00:00

I am supposed to connect to external server using UDP sockets in C#.. I

  • 0
  • I am supposed to connect to external server using UDP sockets in C#..
  • I could not understand these 2 lines in server usage notes:

“Use of dedicated sockets is enforced.”

and

“If the server looses UDP connectivity with the client, it will …”

I thought that the UDP socket is connectionless!
So what did “looses connectivity” mean? and how to avoid it?
Does there is a known way to ensure “dedicated sockets”?

Thanks

  • 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-14T18:30:39+00:00Added an answer on May 14, 2026 at 6:30 pm

    “Use of dedicated sockets is
    enforced.”

    To me this says, create one unique socket for each connection and use it throughout that connection.

    EDIT: Just to expand on this, from the servers point of view.

    UDP sockets are not identified by the
    remote address, but only by the local
    address, although each message has an
    associated remote address. (source).

    That way the server can distinguish from which client each message came from. Because the remote address is made up of an ip address and port combination, you should use the same socket throughout your communication of the sever. This is because if you don’t, it’s possible you could get assigned a different port next time you change the underlying socket.

    “If the server looses UDP connectivity
    with the client, it will …”

    It is possible to loose UPD connectivity e.g. either of the endpoints in the connection is lost, say I go to the server and pull the plug?

    EDIT2:
    Dan Bryant makes an excellent point in the comments, that links in with what I was saying about.

    One thing worth noting is that it’s
    possible for a call to a UDP socket to
    throw a SocketException with
    SocketError.ConnectionReset as the
    error code. UDP does not have any sort
    of session with structured
    connect/disconnect, but it does use a
    dynamically-assigned remote port to
    allow replies, which is a kind of
    ‘connection’.

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

Sidebar

Related Questions

I have a python program that is supposed to connect to a server and
I'm using SAS 9.2 on OpenVMS to connect to an external data source over
It's not clicking how one is supposed to connect to a hosted Cloudant database
When using SqlCmd to try and connect to an active server I have discovered
I'm using the SQL Server Driver for PHP to connect to an SQL Server
Suppose that I have n points (x,y1),(x2,y2),.....(xn,yn) my aim is to connect these points
I am using pyodbc to connect to various odbc compliant databases. Suppose a MySql
Greetings. I'm writing a web application that is supposed to connect to a SQL
I'm pretty thoroughly confused by this, I'm not entirely sure where I'm supposed to
I'm trying to connect Rails to SQL Server. I installed the activerecord-sqlserver-adapter and ruby-odbc

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.