[Mono-devel-list] socket-io.c patch for machines that don't have IPV6

Jerome Laban jlaban at wanadoo.fr
Tue Jul 15 15:18:17 EDT 2003

Sorry for the AF_INET6 miss, I'll check twice next time.

Here is a patch for the socklen_t issue. Does it address all of what you
were talking about ?


-----Original Message-----
From: mono-devel-list-admin at lists.ximian.com
[mailto:mono-devel-list-admin at lists.ximian.com] On Behalf Of Bernie
Sent: Tuesday, July 15, 2003 5:53 PM
To: mono-devel-list at lists.ximian.com
Subject: [Mono-devel-list] socket-io.c patch for machines that don't
have IPV6

I attach a patch for socket-io.c so it compiles on machines that don't
support IPV6. There was some code using PF/AF_INET6 that wasn't properly

This patch also actually makes all the line endings in the file
consistent as they were a mixture of CRLF and plain LF.

I am not 100% sure the code is completely correct since it uses "int"
rather than socklen_t in several places - but I haven't tested that out

Bernie Solomon
-------------- next part --------------
A non-text attachment was scrubbed...
Name: socklen_t-20030715.diff
Type: application/octet-stream
Size: 3733 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20030715/70dac0d5/attachment.obj 

More information about the Mono-devel-list mailing list