Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / March 2008

Tip: Looking for answers? Try searching our database.

Remoting. what is Client IP

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
mttc - 26 Mar 2008 11:33 GMT
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
Cowboy (Gregory A. Beamer) - 26 Mar 2008 15:15 GMT
How about???
CallContext.GetData("ClientAddress")

This will be an object, so you will have to ToString() if that is your
comparison method.

Signature

Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA

Subscribe to my blog
http://gregorybeamer.spaces.live.com/lists/feed.rss

or just read it:
http://gregorybeamer.spaces.live.com/

*************************************************

| Think outside the box!

*************************************************
> When client call to remoting mathod it's no way to knoe the IP of
> client?
[quoted text clipped - 13 lines]
>    end function
> end class
mttc - 26 Mar 2008 16:31 GMT
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

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.