Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

README.md

Clean select loop

Write network applications in a reactive way in clean

Libraries

  • TCPServer

    Contains the master function serve.

  • TCPServer.Listener

    Contains an abstraction over serve only handling the listening part.

  • TCPServer.Connection

    Contains an abstraction over serve only handling one tcp connection to a server.

  • TCPServer.HTTP

    Contains an abstraction over TCPServer.Connection that can send one HTTPRequest.

Examples

To build the examples there are two options. If you want to build with clm, just run make in the examples directory. If you want to build with cpm, run make prj followed by cpm make in the examples directory.

  • Daytime

    Implements the RFC 867 tcp based daytime service

  • Echo

    Implements the RFC 862 tcp based echo service

  • Wget

    Implements a simple http file downloader

  • IRC https://github.com/clean-cloogle/clean-irc/ uses this library to implement a IRC bot interface

About

No description, website, or topics provided.

Resources

License

Releases

No releases published

Packages

No packages published

Languages

You can’t perform that action at this time.