Skip to content

5HT/tcp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TCP Server

Simple Erlang/OTP non-blocking TCP Server in 100 LOC dedicated to all Erlang newcomers.

Build

$ mad dep com pla rep

MAD is simplest 1000 LOC Erlang build tool written in Erlang: http://github.com/synrc/mad

Run

> {ok,S2} = gen_tcp:connect({127,0,0,1},8100,[{packet,2}]),
            gen_tcp:send(S2,<<"hello">>),
            flush().
Cli Socket: #Port<0.16165>
Shell got {tcp,#Port<0.16164>,"hello"}
ok

Credits

  • Maxim Sokhatsky

OM A HUM

About

Simple TCP Server

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages