Giter Site home page Giter Site logo

easy-mid's Introduction

Easy-Mid

Easy-Mid is a small, easy to use SSL Socket Server

Goals

Easy-Mid aims to provide following advantages:

  • Easy to use.
  • Almost fast.
  • Hot Code Change: protocol handlers are replaceable without shutdown your server.
  • Losen Process Module: protocol handlers are replaceable with any other Language(python for example).

The server is currently in early development. Comments and suggestions are more than welcome. To contribute, either open bug reports, or fork the project and send us pull requests with new or improved functionality. You should discuss your plans with us before doing any serious work, though, to avoid duplicating efforts.

Quick start

make
cd ebin
erl -boot start_sasl

Then in the erlang shell, start the application

application:start(ss_server).

Choose the custom listen port(default is 2222)

custom parameter in command line

erl -boot start_sasl -listen_port 12345

change the default parameter in app resource file

Edit the ss_server.app file in ebin directory.Find out the line

{env, []}

change it to

{env, [{listen_port,12345}]}

then the default listen_port is changed to 12345

python process_node example

####start python process node####

python process_node.py -n [email protected] -c 123456

this python process node is just echo the data it received

####start easy-mid process node####

/usr/local/bin/erl -boot start_sasl -listen_port 8243 -env ERL_NO_VFORK 1 -name [email protected] -setcookie 123456

###build with rebar###

####notice####

the project name in your harddisk should be ss_server.

./rebar compile

./rebar generate -f

easy-mid's People

Contributors

skysbird avatar

Watchers

cl2015 avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.