HighTechTalks DotNet Forums  

DNS reverse look up for Remote events?

Dotnet Framework (Remoting) microsoft.public.dotnet.framework.remoting


Discuss DNS reverse look up for Remote events? in the Dotnet Framework (Remoting) forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
schaf@2wire.ch
 
Posts: n/a

Default DNS reverse look up for Remote events? - 09-13-2007 , 03:40 AM






Hi NG!
I have a problem in my remote application.
After calling a remote function the calculation will be done by the
service. The calculation result will be sent to the caller (client)
via remote event.
The following behavior can be observed:

1.) Right after the start of the server the first response via remote
event will take a long time.

2.) Calling the same function a second time will not be a problem.

3.) If I enter the IP address of the client (caller) into the host
file, the first call will not take this long time.

So does .NET remoting use DNS reverse look-up to obtain the client
address?
If yes, is it possible to change this behavior or do I have to permit
DNS reverse look-up ?

Thanks and Regards
Marcel


Reply With Quote
  #2  
Old   
Joop
 
Posts: n/a

Default Re: DNS reverse look up for Remote events? - 09-13-2007 , 05:38 PM






Try using the useIpAddress property when configuring the tcp channel
http://msdn2.microsoft.com/en-us/lib...(VS .71).aspx

schaf (AT) 2wire (DOT) ch wrote:
Quote:
Hi NG!
I have a problem in my remote application.
After calling a remote function the calculation will be done by the
service. The calculation result will be sent to the caller (client)
via remote event.
The following behavior can be observed:

1.) Right after the start of the server the first response via remote
event will take a long time.

2.) Calling the same function a second time will not be a problem.

3.) If I enter the IP address of the client (caller) into the host
file, the first call will not take this long time.

So does .NET remoting use DNS reverse look-up to obtain the client
address?
If yes, is it possible to change this behavior or do I have to permit
DNS reverse look-up ?

Thanks and Regards
Marcel


Reply With Quote
  #3  
Old   
schaf@2wire.ch
 
Posts: n/a

Default Re: DNS reverse look up for Remote events? - 09-14-2007 , 02:19 AM



On 13 Sep., 23:38, Joop <a...@a.a> wrote:
Quote:
Try using the useIpAddress property when configuring the tcp channelhttp://msdn2.microsoft.com/en-us/library/system.runtime.remoting.chan...
Thank you for your help!
I'm going to test this issue as sson as possible.
regards
Marcel



Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.