summaryrefslogtreecommitdiff
path: root/src/sys/socket.rs
AgeCommit message (Collapse)Author
2015-01-03Update to rust masterValerii Hiora
- cstr fallout - deriving -> derive - lib stabilization warnings removal
2014-12-30added getpeername to sys/socketRick Richardson
2014-12-18Add all now needed ';' after macro invocations.Victor Berger
2014-12-15bitflags! derives Copy for you now, so remove our derivings.Jonathan Reem
2014-12-10Fallout of Copy becoming opt-in.Victor Berger
2014-11-19Use namespaced enum variants.Roma Sokolov
As per this pull request https://github.com/rust-lang/rust/pull/18973, enum variants require fully qualified path to access them. This commit introduces boring changes to make nix-rust compiles againts new rust.
2014-11-15Track Rust mastervbuslov
2014-10-31Update source code to new rustcRoma Sokolov
2014-10-30Add getsockname(2) wrapperAyose
2014-10-28Add SO_REUSEPORT for macosEvgeny Rozaliev
2014-10-22Fix nix on 32 bit platformsCarl Lerche
2014-10-21Add defines for Mac OS X/DarwinPhil Vachon
Apple likes to Think Different(tm), especially where constants are involved. Make sure that we have the appropriate constants available for various performance-focused TCP socket options, and that the IP multicast-related defines are correct.
2014-10-21Polish up sendto/recvfrom wrappersPhil Vachon
Make the sendto/recvfrom wrappers a little more friendly to work with.
2014-10-20Change sendto to return bytes sent successfullyPhil Vachon
2014-10-20Add recvfrom(2) and sendto(2) wrappersPhil Vachon
Add FFI function call wrappers for recvfrom(2) and sendto(2) to enable the use of connectionless sockets.
2014-10-20Add Special INADDR_* definitionsPhil Vachon
Add definitions for INADDR_* types that are handy when instructing the kernel how to specify interfaces.
2014-10-20Add a MulticastTtl typePhil Vachon
The multicast TTL type is a uint8_t typically.
2014-10-20Add IPPROTO_IP for level, based on existing SOL_IPPhil Vachon
The SOL_IP name isn't really consistent with what the Kernel define is.
2014-10-20Add defines for multicast membership managementPhil Vachon
Add socket options and references to ip_mreq, enabling use of socket options for managing IP multicast group membership.
2014-10-20Add a handful of useful TCP socket optionsPhil Vachon
Add definitions for manipulating Nagle's algorithm, corking a TCP connection and setting the maximum TCP segment size.
2014-10-20Add SO_REUSEPORT to list of available sock optionsPhil Vachon
Add the ability to use SO_REUSEPORT for multiple applications listening on the same port for TCP accepting sockets and UDP listening sockets.
2014-10-10Merge pull request #5 from ok32/bug/macos-accept4Yehuda Katz
Make macos/ios version of accept4 function public
2014-10-10Update static->constTilde Engineering
2014-10-09Make macos/ios version of accept4 function publicEvgeny Starikov
2014-10-07Fix dup3 and accept4 on DarwinTilde Engineering
2014-10-06Don't special case accept4Carl Lerche
2014-10-06Implement improved feature detection on LinuxCarl Lerche
2014-10-02Track Rust masterCarl Lerche
2014-09-20Be warning-free on Darwin.Clark Gaebel
2014-09-03Expose some more C typesCarl Lerche
2014-08-25Tweaks + fix accept4Carl Lerche
2014-08-21Bind kqueue + misc cleanupCarl Lerche
2014-08-20Start binding DarwinCarl Lerche
2014-08-20getsockopt and setsockoptCarl Lerche
2014-08-19Start on socket optionsCarl Lerche
2014-08-17More socket APIsCarl Lerche