No description, website, or topics provided.
Erlang C Makefile
Failed to load latest commit information.
c_src support IPv6 socket addresses Feb 24, 2017
include fix missing .(dot) at statement end Nov 22, 2016
priv split gen_socket from gen_netlink Dec 7, 2011
.gitignore rewrite to use a driver for polling and active notification Jul 20, 2015
.travis.yml extend travis test to Erlang 19.0 and 19.1 Nov 22, 2016 update README with build instructions Oct 30, 2015
rebar.config add rebar pre/post hooks for building with rebar3 Oct 5, 2016


Build Status

gen_socket is an Erlang socket interface which can be used to create gen_tcp and gen_udp based sockets with special properties.

Existing use cases are:

  • gen_udp socket that talks netlink to the linux kernel
  • gen_tcp socket that is a unix domain socket

In all cases a special file descriptor is created and passed to the gen_tcp/gen_udp driver for further handling

WARNING: pre R15, it was possible to create a non-INET socket and have gen_udp work on it. With R15 the check rules in fdopen() have been tightened to prevent this kind of trickery.


Using tetrapak:

# tetrapak build check

Using rebar:

# rebar get-deps
# rebar compile