Popularity
4.8
Declining
Activity
0.0
Stable
4
3
3
Monthly Downloads: 4
Programming language: Haskell
License: BSD 3-clause "New" or "Revised" License
Tags:
Network
haskell-openflow alternatives and similar packages
Based on the "Networking" category.
Alternatively, view haskell-openflow alternatives based on common mentions on social networks and blogs.
-
websockets
A Haskell library for creating WebSocket-capable servers -
snap-core
Core type definitions (Snap monad, HTTP types, etc) and utilities for web handlers. -
call-haskell-from-anything
Call Haskell functions from any programming language via serialization and dynamic libraries -
snap-server
A fast HTTP server library, which runs Snap web handlers. -
PortFusion
Haskell-powered cross-platform transport-layer distributed reverse / forward proxy & tunneling solution – currently available for all TCP protocols (RDP, VNC, HTTP(S), SSH, ...). -
discord-haskell
Haskell library for writing Discord bots -
io-streams
Simple, composable, and easy-to-use stream I/O for Haskell -
glirc
Haskell IRC library and console client - Join us on libera.chat #glirc -
network-transport-zeromq
ZeroMQ transport for distributed-process (aka Cloud Haskell) -
HaskellNet
Haskell library which provides client support for POP3, SMTP, and IMAP protocols. -
graphula
A simple interface for generating persistent data and linking its dependencies -
http-streams
Haskell HTTP client library for use with io-streams -
http-types
Generic HTTP types for Haskell (for both client and server code) -
ngx-export
Nginx module for binding Haskell code in configuration files for great good! -
secure-sockets
A library for making secure connections between servers. -
network-transport-tcp
TCP Realisation of Network.Transport -
linklater
A Haskell library for the Slack API (including real-time messaging!) -
http-client-streams
http-client for io-streams supporting openssl
Static code analysis for 29 languages.
Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.
Promo
www.sonarqube.org
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of haskell-openflow or a related project?
README
haskell-openflow
OpenFlow v1.0.0 protocol implementation in Haskell. https://www.opennetworking.org/images/stories/downloads/sdn-resources/onf-specifications/openflow/openflow-spec-v1.0.0.pdf
Example OpenFlow server:
handleSwitch :: Socket -> SockAddr -> IO ()
handleSwitch sock caddr =
forever $ do
frame <- readOfpFrame sock
case frame of
(OfpFrame (OfpHeader _ _ _ xid) (OfptEchoRequest dat)) -> do
let resp = (OfpFrame (OfpHeader 1 0 0 xid) (OfptEchoReply dat))
sendAll sock $ encode resp
(OfpFrame (OfpHeader _ _ _ xid) (OfptPacketIn (OfpPacketIn bid len inp reason dat))) -> do
let resp = (OfpFrame (OfpHeader 1 0 0 xid) (OfptPacketOut (OfpPacketOut bid inp [(OfpOutput ofppAll 0)] dat)))
sendAll sock $ encode resp
_ -> putStrLn "unhandled packet"
Quickstart:
$ cabal sandbox init
$ cabal install --only-dependencies --enable-tests
$ cabal build