Awesome Open Source
Awesome Open Source

Chill-Netcat (work in progress)

A deliberately limited Netcat implementation (UDP only).

An exercise in building a network enabled systems program / unikernel with OCaml / MirageOS.

With minimal network related dependencies included the resulting binary has a size of ~3.3MB (on MacOS).

This project is based on the highly instructional "Hello MirageOS World" guide and mirage-skeleton code examples.

You can also watch my talk at the first Vienna ReasonML meetup.

Setup

Check the official MirageOS installation guide.

Configure and build

Configure (e.g. MacOS):

mirage configure -t macosx

Get and build dependencies:

make depend

Build binary:

make

Run

On MacOS:

./chill_netcat

On Xen (not yet..)


Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
ocaml (566
networking (385
example (232
udp (151
netcat (15

Find Open Source By Browsing 7,000 Topics Across 59 Categories