Popularity
0.1
Stable
Activity
0.0
Stable
0
0
0

Description

Sockerl is an advanced Erlang/Elixir socket library for TCP protocols and provides fast, useful and easy-to-use API for implementing server, clients and connection pools.

Monthly Downloads: 0
Programming language: - - -
License: BSD 3-clause "New" or "Revised" License
Tags: Actors     Networking     OTP     Third Party APIs     API     Client     Server     Socket    

SockErl alternatives and similar packages

Based on the "Actors" category.
Alternatively, view SockErl alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of SockErl or a related project?

Add another 'Actors' Package

README

sockerl travis test status Hex version

SockErl

Overview

Sockerl is an advanced Erlang/Elixir socket library for TCP protocols and provides fast, useful and easy-to-use API for implementing server, clients and connection pools.

Features

  • In server, client and client pool implementation every connection has its own process and Sockerl provides useful and simple API for accessing them and sending data through them or sending Erlang message to them, closing them etc.

  • Every connection process can handle generic calls (requests that have made using gen_server:call/2-3 or gen:call/3-4), generic casts (requests that have made using gen_server:cast/2), generic events (messages in form of {'$gen_event', Event}), disconnecting (when other side closes connection), Erlang system messages, etc.

  • Acceptors and Connectors have been written as Special Erlang process and they are faster than gen_server, gen_fsm, etc.

  • Blocking and non-blocking sockets are supported.

  • SSL is supported too.

  • Connects to multiple addresses and has multiple connections to every address in client connection pools.

  • Add new Client(s) to existing pool.

  • Clean and human-understandable error outputs.

  • Accepts standard OTP sys debug options for Acceptors and Connections for generating clean debug output.

  • Simple API for controlling crash of connection processes.

All features not listed here.

Documentation

See Wiki

License

BSD 3-Clause

Links

GitHub
This documentation is available in http://docs.codefather.org/sockerl


*Note that all licence references and agreements mentioned in the SockErl README section above are relevant to that project's source code only.