Hi,

How can a server find out the caller's info?
More exactly, how does the server get the information
about ip address, assembly, (object URI,) etc. of the
requesting client?

Can this be found out at the message sink level? When
a message sink receive an IMessage, it also gets a
message header and stream during method calls. I
probably can define some custom headers in the client
sink so the server sink can access it. But I think
those are generic information that should be available
when a message comes in. But I have no idea how to
retrieve them. Anyone can shed some light on this?

Also, if I get a remote object in the form of MBR at
the app. level, how can I get its URL in its normal
look: eg. "tcp://192.168.1.64:30000/testURI". I tried
RemotingServices.GetObjectUri(MBR), but it returns the
url in the form "AppDomain_GUID/testURI", without the
scheme, host address and port information. How can I
work around with this?

Thanks.

=====
- Kenneth Beckham

__________________________________
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree

===================================
This list is hosted by DevelopMentor�  http://www.develop.com
Some .NET courses you may be interested in:

Guerrilla ASP.NET, 10 Nov 2003 in London and 26 Jan 2004, in Los Angeles
http://www.develop.com/courses/gaspdotnet

Guerrilla .NET, 8 Dec 2003, in Los Angeles
http://www.develop.com/courses/gdotnet

View archives and manage your subscription(s) at http://discuss.develop.com

Reply via email to