HaNS
HaNS, a haskell network stack (currently an archeology project, but maybe can be revived)
Install / Use
/learn @cartazio/HaNSREADME
HaNS
The Haskell Network Stack.
Running Echo-Server Examples in Xen
NOTE: This example is out of date
You first need to set up a bridge device, br0; the echo servers are
configured to use this bridge in Xen. The configuration files are
udp-test/udp-test.config and tcp-test/tcp-test.config.
Assuming you are working in a Cabal sandbox at the top-level of the
repo, and have done halvm-cabal install hans, you can run the TCP
and UDP echo server examples with
sudo xl create -c ../udp-test/udp-test.config
and
sudo xl create -c ../tcpp-test/tcpp-test.config
where -c makes them print their log messages to standard out. They
are configured to use DHCP and will log the IP address they receive
after start up; they listen on port 9001.
You can then test them with NetCat, using
nc -u <ip addr> 9001
for UDP and
nc <ip addr> 9001
for TCP. Whatever you enter will be echoed back.
Related Skills
node-connect
345.9kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
106.4kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
345.9kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
345.9kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
