Name: gen_socket
Owner: DC/OS
Description: null
Forked from: travelping/gen_socket
Created: 2016-09-21 01:02:01.0
Updated: 2017-05-12 07:28:50.0
Pushed: 2016-10-04 20:44:55.0
Size: 794
Language: Erlang
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
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:
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