Solved

server discovery

Posted on 2003-12-04
6
294 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
  • 3
6 Comments
 
LVL 1

Accepted Solution

by:
mgazza earned 50 total points
Comment Utility
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
Comment Utility
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
Comment Utility
i think its time you finalised this question

regards mark,
0
 
LVL 2

Expert Comment

by:-Karamja-
Comment Utility
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
Comment Utility
request
split 60/40  -Karamja- / mgazza
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
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…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

763 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now