Is it possible to make a client to search for the server???

Reply

Join Date: Mar 2009
Posts: 23
Reputation: metal_butterfly is an unknown quantity at this point 
Solved Threads: 0
metal_butterfly metal_butterfly is offline Offline
Newbie Poster

Is it possible to make a client to search for the server???

 
0
  #1
Apr 14th, 2009
I have a scenario in which there are many servers .But all these servers are not active always and not more than one server will come to active state at a time..Whenever any of the server comes to active state ,it has to send a "active state " acknowledgment to the client,so that the client can communicate with the server.the client knows the ip address of all the servers.Is it possible to do what i have mentioned?? if so plz tel how.... I need the solution in C.the ip address of all the servers will be stored in a file in the client machine.Plz help me in this...
Reply With Quote Quick reply to this message  
Join Date: May 2006
Posts: 1,824
Reputation: ithelp is a name known to all ithelp is a name known to all ithelp is a name known to all ithelp is a name known to all ithelp is a name known to all ithelp is a name known to all 
Solved Threads: 117
ithelp's Avatar
ithelp ithelp is offline Offline
Posting Virtuoso

Re: Is it possible to make a client to search for the server???

 
0
  #2
Apr 14th, 2009
You can keep all servers ip addresses in a config file , you can then ping them one by one.
Last edited by ithelp; Apr 14th, 2009 at 7:52 am.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the C Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC