2 unstable releases

0.2.0 Sep 28, 2020
0.1.0 Jun 27, 2020

#24 in #posix

BSD-2-Clause

52KB
1K SLoC

posix-socket docs tests

Thin wrapper around POSIX sockets.

The standard library sockets are nice for dealing with TCP, UDP and Unix streaming and datagram sockets. However, for all other sockets, you will get no help from the standard library.

Additionally, the standard library sockets don't always expose all underlying features of the sockets. For example, you can not send file descriptors over the standard library sockets without using libc.

This library intends to expose the POSIX socket API to Rust without cutting features. It is currently still a work in progress.


lib.rs:

Thin wrapper around POSIX sockets.

The standard library sockets are good for dealing with TCP, UDP and Unix streaming and datagram sockets. However, for other sockets, you will get no help from the standard library.

Additionally, the standard library sockets don't always expose all underlying features of the sockets. For example, you can not send file descriptors over the standard library sockets without resorting to libc.

This library intends to expose the POSIX socket API to Rust without cutting features. It is currently still a work in progress.

Dependencies

~14–265KB

>q_