tftp-0.2: A library for building tftp servers

Safe HaskellNone

Network.TFTP.Server

Description

High-level API for building simple TFTP Servers, currently restricted to answering read requests.

Synopsis

Documentation

singleBinary :: Maybe Int -> FilePath -> String -> Maybe String -> Maybe String -> IO (Maybe String)Source

Create a simple server that answers a single read request from a single client for a file, and return Nothing when the transfer was successfully completed, or 'Just message'