BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

TCP/IP server!

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Internet Winsock
View previous topic :: View next topic  
Author Message
Atmapuri
Guest





PostPosted: Sat Mar 06, 2004 10:58 am    Post subject: TCP/IP server! Reply with quote



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





PostPosted: Sat Mar 06, 2004 11:14 pm    Post subject: Re: TCP/IP server! Reply with quote




"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
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Internet Winsock All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.