2009-01-07 Geoff Norton <gnorton@novell.com>
commitd46615419886897335582191ff8c4136ed2a9b4a
authorGeoff Norton <grompf@sublimeintervention.com>
Wed, 7 Jan 2009 06:30:53 +0000 (7 06:30 -0000)
committerGeoff Norton <grompf@sublimeintervention.com>
Wed, 7 Jan 2009 06:30:53 +0000 (7 06:30 -0000)
treec712c7bee9f02451f32725705e98593e6135929d
parent2efca6fc8fe955cbf0ad6ffb9e75df1e35b3696c
2009-01-07  Geoff Norton  <gnorton@novell.com>

        * socket-io.c: ioctlsocket(FIONREAD) returns the size of the UDP header as well on
        darwin.  Use getsockopt SO_NREAD instead to get the right values for TCP and UDP.
        ai_canonname can be null in some cases on darwin, where the runtime assumes it will
        be the value of the ip buffer.

svn path=/trunk/mono/; revision=122617
mono/metadata/ChangeLog
mono/metadata/socket-io.c