● Bash(cd ~/git/navicore/patch-seq && fj issue comment 475 -m "Scope narrowing — \net.tcp.connect\ is done and #21
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
navicore/seqlings!21
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "new-tcp"
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?
⎿ Waiting…
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────
Bash command
seq:allow(unchecked-tcp-write) on the connector/echo-server words. Acknowledges that the test is not the
place to teach write-failure handling, while keeping the lint useful elsewhere. Matches how the stdlib uses the
annotation for unchecked-modulo, deep-nesting, etc.
2. Ex 04 became peer-close detection, not "failure-path handling." After experimenting I confirmed net.tcp.read
on a peer-closed socket returns ("" true) — empty data with success — so the canonical TCP "they hung up"
detection is success && length == 0, not the Bool alone. That's a meatier and more honest lesson than a
contrived hard failure.
3. Fixed ports, not OS-assigned. Until issue #475's second half (returning the bound port from listen 0) lands,
we have to pick numbers. Used 18261-18265.
net.tcp.connect\is done andshipped (thank you!). What remains in this issue is th…) ⎿ Waiting… ────────────────────────────────────────────────────────────────────────────────────────────────────────────────── Bash command 1. # seq:allow(unchecked-tcp-write) on the connector/echo-server words. Acknowledges that the test is not the place to teach write-failure handling, while keeping the lint useful elsewhere. Matches how the stdlib uses the annotation for unchecked-modulo, deep-nesting, etc. 2. Ex 04 became peer-close detection, not "failure-path handling." After experimenting I confirmed net.tcp.read on a peer-closed socket returns ("" true) — empty data with success — so the canonical TCP "they hung up" detection is success && length == 0, not the Bool alone. That's a meatier and more honest lesson than a contrived hard failure. 3. Fixed ports, not OS-assigned. Until issue #475's second half (returning the bound port from listen 0) lands, we have to pick numbers. Used 18261-18265.