Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Socket.erl - a wrapper for handling tcp and ssl connections in erlang

branch: master

Fetching latest commit…


Cannot retrieve the latest commit at this time

Octocat-spinner-32 src
Octocat-spinner-32 .gitignore
Octocat-spinner-32 README.markdown
Octocat-spinner-32 Rakefile
Octocat-spinner-32 server.crt
Octocat-spinner-32 server.key


Provides a thin api around gen_tcp and ssl sockets allowing you to flexibly work with socket with and without encryption.


  • listens on a port with either ssl encryption or plain tcp
  • handles asynchronous connection events via both protocols
  • encapsulates all the nasty bits of erlang socket options
  • allows easy upgrading of tcp connections via to_ssl_* functions
  • helps you apply reasonable default options to all sockets

Written by Jack Danger Canty

Extracted from gen_smtp written by Andrew Thompson (

Socket Imageimage by incurable hippie

Something went wrong with that request. Please try again.