Skip to content

aoughwl/net

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

net

A stdlib-style network API for Nimony, built on tcp — the middle layer of the tcp → net → serve stack. Wraps raw handles in a Socket value with an Ipv4Address/Endpoint model, string-convenience I/O, a buffered line reader, and connect helpers (dial, connectTimeout). Status-based errors, no exceptions.

📖 Full docs → aoughwl.github.io/docs/net-stack

import net

recv(sock, maxBytes) loops to maxBytes/EOF (no hidden 8192 cap); readAll drains to EOF; BufferedSocket gives recvLine (CRLF/LF). Same NetErrorKind model as tcp.

About

A stdlib-style network API for nimony built on tcp — the middle of the tcp to net to serve stack. Wraps raw handles in a Socket with an Ipv4Address/Endpoint model, a buffered line reader, and connect helpers (dial, connectTimeout). Status-based, no exceptions.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages