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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T05:22:09+00:00 2026-05-29T05:22:09+00:00

I am looking to send a short message to all IP’s on a subnet

  • 0

I am looking to send a short message to all IP’s on a subnet in C#. I am using a TCPClient and the problem is that the TCPClient.Connect() function takes a good 20 seconds to throw it’s Exception if there is nothing using that IP. I would hoping for something on the order of a couple of milliseconds if possible.

All I am really looking to do is send a couple bytes to each address and receive an ACK from certain ones. If there is a way to do this without explicitly using the Connect(), the TCPClient, or even just setting a Connection timeout that I don’t know about, I could easily switch to that instead.

I’m looking to run this program on multiple computers and this broadcast is going to be used so that each instance will know the IP’s of the other instances. So really all I need is to send a couple bytes for identification.

  • 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-29T05:22:10+00:00Added an answer on May 29, 2026 at 5:22 am

    Why not broadcast over a UDP address instead. If the clients are listening on that address they’ll get the message (although it’s not guaranteed like TCP) if they’re not there, the broadcaster doesn’t care. It sounds like what you need is UDP which is more of a broadcast to anyone that’s listening scenario.

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

Sidebar

Related Questions

I'm looking for a PHP extension that allows me to connect, bind/listen, send, and
I am looking for a way to periodically send some data over all clients
I'm looking for ActiveX components that can easily: get and send emails via SMTP
I am looking for some simple API that I could send email to and
Short: I am looking for a very simple (configuration/maintenance wise) solution, that would allow
I'm looking to send many emails via Python and would like to connect to
I'm looking to buid a paid subscription service that I can send to website
I am looking for a way to send and receive keyboard information regardless of
I'm looking for a way to send the output of an arbitrary Emacs command
Im looking for a term here. in messaging systems you send a request, and

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.