"sunny" <fu***********@gmail.comwrote in message
news:43**********************************@q27g2000 prf.googlegroups.com...
>I need to find my server over the network!!! so my installer installs
client on one machine and server on other machine on the same network.
How can i do that??? How can my client know where my server is???
Your client program must know the LAN IP on which the server resides. If
it's over the internet, then the client machine must know the WAN/Internet
IP where the server resides. This information would be kept in a config file
I would assume on the client side using a URI.
It talks about the a program's usage of a URI, which happens to be a Web
Service example, but the URI applies to your example and how your client
application would locate the server.
http://gdp.globus.org/gt4-tutorial/m...l/ch01s02.html
If the server is on a LAN, the go to the machine and enter IPconfig /all at
the Windows Command Prompt to get the LAN IP the machine is using.
The rest of it, you're going to have to do your home work or use Google or
Dogpile.com to find the articles on the how to.