Solved

server discovery

Posted on 2003-12-04
6
303 Views
Last Modified: 2010-04-05
Hi, I want an easy way of discovering a server on a network. For example, I want a server running on say 192.168.0.55. And a client does a broadcast on the workgroup, asking servers to identify themselves. The server then replies with it's IP address and consequently the client can do a socket connect to the server.

What would be the best protocol to perform such a broadcast?
0
Comment
Question by:fidel83
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
6 Comments
 
LVL 1

Accepted Solution

by:
mgazza earned 50 total points
ID: 9913029
well id just like to say that yuor method would take years with a possable searchable area of 255.255.255.255 with 300ms<    posable communication time you need to buy an computer with a fixed ip address and register yuor ip with a dns server so your server doesnt need to do this all it wil need for the address is the dns address for your compter eg www.some_site.net could be 214.142.63.156 you can find a servers ip address also by doing ping www.sitename.com in command

hope this helps
0
 

Assisted Solution

by:thegetta
thegetta earned 50 total points
ID: 9922086
Hi,
if you want to broadcast in a Local Network (LAN) you can use UDP for broadcasting. There's a component Suite called ICS (www.overbyte.be) which can be used to send broadcasts. If you download the source of the components there are some samples included. For example UDPSend.dpr and udplstn.dpr. If you check these samples it's pretty easy so send a broadcast.

www.overbyte.be or http://overbyte.delphicenter.com/frame_index.html?redirTo=/products/ics.html
0
 
LVL 1

Expert Comment

by:mgazza
ID: 11352596
i think its time you finalised this question

regards mark,
0
 
LVL 2

Expert Comment

by:-Karamja-
ID: 12382644
No comment has been added to this question in more than 21 days, so it is now classified as abandoned..
I will leave the following recommendation for this question in the Cleanup topic area:
Split: mgazza & thegetta

Any objections should be posted here in the next 4 days. After that time, the question will be closed.

Karamja (Alan)
EE Cleanup Volunteer
0
 
LVL 1

Expert Comment

by:mgazza
ID: 12383426
request
split 60/40  -Karamja- / mgazza
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

740 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question