Steffen Kieß
2225b6a260
[Mono.Posix] Add support for sending and receiving socket control messages
...
Add wrappers for struct cmsghdr, the macros for manipulating control
messages (CMSG_*) and recvmsg() and sendmsg().
2016-01-19 20:43:07 +01:00
Alexander Köplinger
d243b9168c
[Mono.Posix] Fix OSX build break by checking if accept4() is available
...
It's a Linux-specific extension and not available on OSX or Linux <2.6.28
2016-01-19 03:58:25 +01:00
Steffen Kieß
ac52b7f458
[Mono.Posix] Add wrappers for struct sockaddr_*
...
Add wrappers for the sockaddr_* structures and add the syscalls using these
structures (bind(), accept(), ...).
2016-01-18 10:04:09 +01:00
Jonathan Pryor
535964dc5f
[MonoPosixHelper] Fix compilation for Android.
...
The Android NDK decalres the `struct timeval` struct in <sys/time.h>.
Update sys-socket.c to #include <sys/time.h> to fix compilation
with the Android NDK.
2015-08-27 16:07:43 -04:00
Steffen Kieß
d14254989b
Add socket-related functions and data structures to Mono.Posix
...
This commit adds those socket-related functions which do not require the
sockaddr_* structures or the msghdr structure.
2015-08-24 19:42:54 +02:00