 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Atmapuri Guest
|
Posted: Sat Mar 06, 2004 10:58 am Post subject: TCP/IP server! |
|
|
Hi!
I have one TCP/IP server application and about 60 clients.
I would like the clients to automatically discover the address
of the server. How could I (using ICS [url]http://www.overbyte.be):[/url]
1.) Sent an UDP (or something) request from the server.
containing the server information
2.) have the clients read that request, decode the servers
IP address and make the connection.
Of course the server will only send IP information, if
there is a new client on the network. And therefore I would
first have to send a request to the server to broadcast
its IP address..
On the server side I will have Delphi and the client
is on Windows CE which I have to programm with
Winsock library.
Any hints (code) are welcome <g>
Thanks!
Atmapuri
|
|
| Back to top |
|
 |
Remy Lebeau (TeamB) Guest
|
Posted: Sat Mar 06, 2004 11:14 pm Post subject: Re: TCP/IP server! |
|
|
"Atmapuri" <janez.makovsek (AT) usa (DOT) net> wrote
| Quote: | I have one TCP/IP server application and about 60 clients.
I would like the clients to automatically discover the address
of the server.
|
Why not use DNS for that? That is what iti is designed for. Give the
server its own registered host name, and then have the client resolve the
host name into its current IP when needed.
Gambit
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|