[Mono-bugs] [Bug 54234][Maj] New - useIpAddress in tcp channel should be true by default, but is not

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Wed, 11 Feb 2004 18:51:22 -0500 (EST)

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by umuff@quark.com.


--- shadow/54234	2004-02-11 18:51:22.000000000 -0500
+++ shadow/54234.tmp.28275	2004-02-11 18:51:22.000000000 -0500
@@ -0,0 +1,47 @@
+Bug#: 54234
+Product: Mono/Class Libraries
+Version: unspecified
+OS: SUSE 9.0
+OS Details: 
+Status: NEW   
+Priority: Major
+Component: System
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: umuff@quark.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+Summary: useIpAddress in tcp channel should be true by default, but is not
+Description of Problem:
+A tcp channel created using the config file method will not use the IP 
+address when marsheling obj-by-ref.  This results in 'host unknown' on 
+the client side, if the server is not in the dns.
+According to MSDN documentation useIpAddress should be true by default:
+MSDN: http://msdn.microsoft.com/library/default.asp?url=/library/en-
+"useIpAddress: allows you to determine if the IP address or machine name 
+is used in the URL. This attribute is only used on the server side and 
+the default value is true."
+Steps to reproduce the problem:
+1. use a server that has no entry in any dns
+2. use the tcp channel to connect to the server
+3. the client will get a 'host unknown' when trying to talk to a 'non-
+wellknown' object return by a 'wellknown' object.
+Actual Results:
+'host unknown' exception
+Expected Results:
+working fine :)
+How often does this happen? 
+every time
+Additional Information:
+ask me for sample code if you need, but that should be ovious to change.