Ocamlnet hands-on tutorial

Hi everybody. Everything is in the title. Is there a complete hands-on tutorial available for the Ocamlnet library ?

I especially need to use the telnet client. First, it looks like it is using the OO features, which is fairly uncommon, and it contains a whole event system thing which I have trouble understanding. Moreover, I think I would need further explanation of the methods in the telnet_session class, like attach and run.

Having code snippets would help me the same way having some really helped me understand functions like accept, listen, or select when writing my first network programs a few years ago.

Thanks a lot !


It seems there is an example of using telnet in the package source (examples/netclient/simple/telnet.ml).