John, I have control over PHost so I can certainly set it to whatever. Normally, PHost gets its IP Address from the DHCP server on the network.
Currently, I physically find the specific machine on the network (I name them all PHost-XXXX where XXXX is a unique number). Then I tell ICS to connect to that machine over a socket. I'd like to get around the 'physically find' step above by broadcasting (I guess that's the term) and listening for machines running PHost to tell me they are active and on the network. This also appears to be something that SQL server Management Studio (or EM) does. Once I found the machines running PHost, I could then connect to them as I currently do by opening up a socket on a specific port). Peter -----Original Message----- From: Discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] On Behalf Of John Warner Sent: Thursday, May 22, 2008 8:55 AM To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM Subject: Re: [ADVANCED-DOTNET] Network Search Importance: Low Do you 'understand' the protocol used by PHost? What I mean is the normal broadcast address is xxx.xxx.255.255 (ex 192.168.1.255), would Phost recognize properly formatted packets sent this way? ( http://en.wikipedia.org/wiki/Broadcast_address ) John Warner > -----Original Message----- > From: Discussion of advanced .NET topics. > [mailto:[EMAIL PROTECTED] On Behalf Of Peter Osucha > Sent: Thursday, May 22, 2008 8:43 AM > To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM > Subject: [ADVANCED-DOTNET] Network Search > > > Hello, > > I've got machines on a network that are running a program > (called PHost). I've got a client application (called ICS) > that can connect to machines running PHost to retrieve data. > I would like to setup a system (perhaps similar to PC > Anywhere) in which ICS can send out a broadcast over a > network looking for machines running PHost and they would > respond so ICS wouldn't have to know the IP address of > machines running PHost up front. > > There is undoubtedly lots of info on doing such things on the > Internet - I am apparently not choosing my search terms very > well. What is such a system called so I can get better > search results and possible code examples, please? > > Sincerely, > Peter > > > =================================== This list is hosted by DevelopMentorĀ® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com