Solved

server discovery

Posted on 2003-12-04
6
298 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
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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Suggested Solutions

Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
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…

825 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