Skip to content

balrajsingh/ocaml-lwip

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OCaml bindings to the LWIP TCP/IP stack.

Dependencies:
- LWT 2.1.0+ from http://ocsigen.org/lwt

Works on:
- MacOS X with osxtuntap: http://tuntaposx.sourceforge.net
- Linux 2.6 with tuntap compiled in

To use it:

$ make all
$ sudo make echo

This sets up a listening echo server on 192.168.10.2 7

$ telnet 192.168.10.2 7
<type stuff in>

$ nc -q 3 192.168.10.2 7 < Makefile

...and you should see the Makefile echoed back to you.
The echo server is defined in lib/main.ml

--
Anil Madhavapeddy <[email protected]>
(with thanks to Kieran Mansley for API advice on LWIP)

About

OCaml bindings to the lwIP TCP/IP stack

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published