helium / erlang-splicer

Splice 2 sockets together in Erlang

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

splicer

A library to splice 2 sockets together, optionally using splice(2) when available.

Only one function is exported: splicer:splice/2 it takes 2 file descriptors (use inet:getfd). The function will block until the splice is finished (ie. one side of the splice is closed).

Build

$ rebar3 compile

About

Splice 2 sockets together in Erlang

License:Apache License 2.0


Languages

Language:Erlang 55.7%Language:C 29.8%Language:Makefile 14.5%