Howto find an object on network using remoting?

G

Guest

I have a client computer running a client application and some server
computers running identical server applications connected on network and
using remoting service.
In my client aplication I want to show a list of servers which have the
server object, like SQL Enterprise Manger does when we create a new SQL
Server registration and then it shows a list of SQL Servers.
Is there a way to find the server computers which have the server object?




<system.runtime.remoting>
<application>
<lifetime leaseTime="0M" sponsorshipTimeOut="2M" renewOnCallTime="2M"
leaseManagerPollTime="10S" />
<service>
<wellknown type="CBatchLib.CBatchServer,CBatchLib"
objectUri="CBatchServer" mode="Singleton" />
</service>
<channels>
<channel ref="tcp" port="8080">
<serverProviders>
<formatter ref="binary" TypeFilterLevel="Full" />
</serverProviders>
</channel>
</channels>
</application>
<customErrors mode="off" />
</system.runtime.remoting>
 
C

Chee Pin Cheam

Mauricio said:
I have a client computer running a client application and some server
computers running identical server applications connected on network and
using remoting service.
In my client aplication I want to show a list of servers which have the
server object, like SQL Enterprise Manger does when we create a new SQL
Server registration and then it shows a list of SQL Servers.
Is there a way to find the server computers which have the server object?




<system.runtime.remoting>
<application>
<lifetime leaseTime="0M" sponsorshipTimeOut="2M" renewOnCallTime="2M"
leaseManagerPollTime="10S" />
<service>
<wellknown type="CBatchLib.CBatchServer,CBatchLib"
objectUri="CBatchServer" mode="Singleton" />
</service>
<channels>
<channel ref="tcp" port="8080">
<serverProviders>
<formatter ref="binary" TypeFilterLevel="Full" />
</serverProviders>
</channel>
</channels>
</application>
<customErrors mode="off" />
</system.runtime.remoting>
As far as I know, remoting does not have discovery capabilities. You
will probably have to do something on your own.

Chee Pin
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top