Remoting. what is Client IP

  • Thread starter Thread starter mttc
  • Start date Start date
M

mttc

When client call to remoting mathod it's no way to knoe the IP of
client?

the server look like:

interface MyInterface
function div(i as integer) as integer
end interface

Public Class KioskServer
Inherits MarshalByRefObject
Implements MyInterface

function div(i as integer) as integer
return i/2
end function
end class
 
please let me know how use with it?

the CallContext.GetData("ClientAddress") seem like intend to send
info to the server.

but My q is how reveal from where call came. Notice the client not
know his public IP, but the server know the IP of caller. So I need to
get this IP. how do that?

Also I forget to point that I work with 2.0
 
Back
Top