[Mono-devel-list] XSP Over IPv6

Carlos Alberto Barcenilla carlos_barcenilla at gmx.net
Sat Jul 12 13:00:29 EDT 2003


Hi everyone,

    This tiny patch enables XSP to run under IPv6 using Jerome's IPv6 patch.
    
    For XSP to listen on IPv6 the following option must be added to server.exe.config

    <add key="MonoServerAddress" value="::"/>

    
    There's a test server running at http://xsp.ipv6.frlp.utn.edu.ar:8080

-- Note to socket programmers:
        
  When creating a new Socket object avoid passing AddressFamily.InterNetwork as the first parameter. Instead pass the AddressFamily property of the IPAdddress object you will be connecting to or listening at.
        
  This makes your application compatible with both IPv4 and IPv6.

  Example:
    -- IPv4 Only ---
    listen_socket = new Socket (AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.IP);
    
    -- IPv4 / IPv6 --
    listen_socket = new Socket (bindAddress.AddressFamily, SocketType.Stream, ProtocolType.IP);

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20030712/2d3d84dc/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xsp-ipv6-20030712.patch
Type: application/octet-stream
Size: 689 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20030712/2d3d84dc/attachment.obj 


More information about the Mono-devel-list mailing list