● Reorg done. CI green. #485
No reviewers
Labels
No labels
bug
dependencies
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
refactor
rust
technical-debt
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
navicore/patch-seq!485
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "better-net-examples"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
New tree under examples/net/:
examples/net/
README.md ← layered tour (DNS → TCP → UDP → TLS → HTTP)
dns/resolve.seq ← NEW: net.dns.resolve demo
tcp/client.seq ← NEW: net.tcp.connect minimal client
tcp/server.seq ← NEW: plain TCP echo server (no HTTP)
tcp/http-routing.seq ← MOVED from examples/io/http/http_server.seq
udp/echo.seq ← NEW: bind + send-to + receive-from round-trip
tls/client.seq ← NEW: net.tls.client upgrading a TCP socket
http/client.seq ← MOVED from examples/io/http-client.seq
Removed:
tutorial), so the README was redundant. Run instructions migrated into examples/net/README.md.
Updated:
All five new files compile and pass the seq-lint step (the three unchecked-tcp-write warnings I had at first got the same seq:allow(unchecked-tcp-write)
directive that http-routing.seq already uses, with a one-line comment explaining real code should check the Bool).
New tree under examples/net/: examples/net/ README.md ← layered tour (DNS → TCP → UDP → TLS → HTTP) dns/resolve.seq ← NEW: net.dns.resolve demo tcp/client.seq ← NEW: net.tcp.connect minimal client tcp/server.seq ← NEW: plain TCP echo server (no HTTP) tcp/http-routing.seq ← MOVED from examples/io/http/http_server.seq udp/echo.seq ← NEW: bind + send-to + receive-from round-trip tls/client.seq ← NEW: net.tls.client upgrading a TCP socket http/client.seq ← MOVED from examples/io/http-client.seq udp/echo.seq ← NEW: bind + send-to + receive-from round-trip tls/client.seq ← NEW: net.tls.client upgrading a TCP socket http/client.seq ← MOVED from examples/io/http-client.seq Removed: - examples/io/http/test_simple.seq — was a mislabeled 10-line hello-world, nothing to do with HTTP. - examples/io/http/README.md — content was server-focused; the moved http-routing.seq is heavily self-documenting (a 530-line concatenative-programming tutorial), so the README was redundant. Run instructions migrated into examples/net/README.md. - examples/io/http/ directory itself, now empty. Updated: - examples/README.md — added net/ row to the category table; io/ row narrowed to "terminal, files, text processing, compression." - examples/io/README.md — stripped the HTTP sections, added a "for networking see ../net/" pointer. All five new files compile and pass the seq-lint step (the three unchecked-tcp-write warnings I had at first got the same seq:allow(unchecked-tcp-write) directive that http-routing.seq already uses, with a one-line comment explaining real code should check the Bool).