Code Monkey home page Code Monkey logo

sctp_dist's Introduction

sctp_dist

Works with OTP-21. Doesn't do anything very interesting yet, acts essentially like the tcp dist proto since it just uses one stream.

Build

$ rebar3 compile

Run

$ erl -pa _build/default/lib/sctp_dist/ebin -proto_dist gen_sctp -name bing@127.0.0.1 -setcookie a

Erlang/OTP 21 [erts-10.0] [source] [64-bit] [smp:4:4] [ds:4:4:10] [async-threads:1] [hipe]

89809 bing@fanon:{gen_sctp_dist,accept_loop,<0.60.0>}
Eshell V10.0  (abort with ^G)
(search)`connec': net_kernel:connect_node(bong@fanon).
7213204 bing@fanon:{gen_sctp_dist,do_setup,<0.90.0>,bong@fanon}
7216308 bing@fanon:port_please({127,0,0,1}) -> version 5
true
$ erl -pa _build/default/lib/sctp_dist/ebin -proto_dist gen_sctp -name bong@127.0.0.1 -setcookie a

Erlang/OTP 21 [erts-10.0] [source] [64-bit] [smp:4:4] [ds:4:4:10] [async-threads:1] [hipe]

93673 bong@fanon:{gen_sctp_dist,accept_loop,<0.60.0>}
Eshell V10.0  (abort with ^G)
(bong@fanon)1> 4007235 bong@fanon:NewAssoc {{127,0,0,1},47144,[],{sctp_assoc_change,comm_up,0,10,5,156}}4007453 bong@fanon:{gen_sctp_dist,accept_loop,accepted,#Port<0.9>,<0.88.0>,<0.60.0>}
4007624 bong@fanon:{gen_sctp_dist,do_accept,<0.90.0>,bong@fanon}
4007743 bong@fanon:{gen_sctp_dist,accept_loop,<0.60.0>}

sctp_dist's People

Contributors

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