reflex-libtelnet: Reflex bindings for libtelnet

[ gpl, library, network ] [ Propose Tags ]

Wraps , so you can handle telnet data streams using reflex Reflex.Events. See or Reflex.LibTelnet to get started.

[Skip to Readme]
Versions [faq]
Change log
Dependencies base (>=4.11 && <4.13), bytestring (>= && <0.11), data-default (>= && <0.8), dependent-map (==0.3.*), dependent-sum (>= && <=0.7), dependent-sum-template (==0.1.*), lens (>=4.16.1 && <4.18), libtelnet (==0.1.*), reflex (>=0.5 && <0.7) [details]
License GPL-3.0-or-later
Copyright (c) 2019 Jack Kelly
Author Jack Kelly
Category Network
Home page
Bug tracker
Source repo head: git clone
Uploaded by jack at 2019-12-02T22:26:18Z
Distributions NixOS:
Downloads 225 total (0 in the last 30 days)
Rating 2.0 (votes: 1) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs uploaded by user
Build status unknown [no reports yet]


[Index] [Quick Jump]


Maintainer's Corner

For package maintainers and hackage trustees

Readme for reflex-libtelnet-

[back to package description]

Reflex Bindings to libtelnet

This is a reflex wrapper around libtelnet, which lets you describe data flows through the telnet state tracker using reflex Events.

This library thinly wraps the libtelnet functions, so you should read the libtelnet documentation alongside the haddocks for this package.

Quick Start

  1. Assemble a config :: TelnetConfig t, which holds the event streams that feed into a telnet state tracker. The easiest way to do this is to call def (there is an instance Reflex t => Default (TelnetConfig t)) and overwrite the fields you care about using record updates or lenses. You will almost certainly want to overwrite _cRecv to be the stream of incoming data from a socket, and _cSend to be the stream of outgoing data from your application.

  2. Call telnet config, and save the resulting TelnetEvents t. This structure holds the output event streams from a single telnet state tracker.

  3. Wire the ouput events into your application.

Other Resources