dcos/gen_socket

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

Homepage:

Size: 794

Language: Erlang

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

gen_socket

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:

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.
COMPILING

Using tetrapak:

# tetrapak build check

Using rebar:

# rebar get-deps
# rebar compile

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.