Groups | Blog | Home
all groups > dotnet remoting > september 2007 >

dotnet remoting : DNS reverse look up for Remote events?



schaf NO[at]SPAM 2wire.ch
9/13/2007 12:00:00 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
Joop
9/13/2007 11:38:52 PM
Try using the useIpAddress property when configuring the tcp channel
http://msdn2.microsoft.com/en-us/library/system.runtime.remoting.channels.tcp.tcpchannel(VS.71).aspx

[quoted text, click to view]
schaf NO[at]SPAM 2wire.ch
9/14/2007 12:00:00 AM
[quoted text, click to view]

Thank you for your help!
I'm going to test this issue as sson as possible.
regards
Marcel
AddThis Social Bookmark Button