https://bugzilla.novell.com/show_bug.cgi?id=349449

User [EMAIL PROTECTED] added comment
https://bugzilla.novell.com/show_bug.cgi?id=349449#c1


Andy Hume <[EMAIL PROTECTED]> changed:

           What    |Removed                                         |Added
----------------------------------------------------------------------------
                 CC|                                                |[EMAIL 
PROTECTED]
             Status|NEW                                             |RESOLVED
         Resolution|                                                |WONTFIX




--- Comment #1 from Andy Hume <[EMAIL PROTECTED]>  2007-12-20 03:05:48 MST ---
There's a simple workaround: just call Bind before calling Connect.  That
sets-up the state necessary for Local-/RemoteEndPoint to work.  e.g.

        IPAddress any = s.AddressFamily == AddressFamily.InterNetworkV6 
            ? IPAddress.IPv6Any : IPAddress.Any;
        s.Bind(new IPEndPoint(any, 0));

Works on MSFT and Mono 1.2.6 (Win32) for me.  I /think/ the first line is
required if the socket might be an IPv6 one.


I've set the bug status to WONTFIX, as there's that workaround and also
presuming we wouldn't want to vary too much from the MSFT behaviour (although
NETCF's Local-/RemoteEndPoint are somewhat different from the full FX's).


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to