Repository navigation
Conversation
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…service ports are in use Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
A socket opened to 0.0.0.0 accepts datagrams from any sender whose source port equals the remote port, so the paragraph that says it only receives from the remote host is corrected. Also note that broadcast needs no socket option. This describes current firmware behaviour. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Draft: it depends on the firmware PR GideonZ/1541ultimate#1016, which is itself a draft waiting for a go-ahead in GideonZ/1541ultimate#962.
Documents the new network target command from that PR, for GideonZ/1541ultimate#962.
NET_CMD_OPEN_UDP_LOCAL (0x0A)inuci/network_target.rst, afterNET_CMD_CLOSE_SOCKETand beforeNET_CMD_READ_SOCKET: format, parameters, the 3-byte reply (handle and bound local port), statuses (81, 82, 84, 85, 86, 89, 11), the resolve-before-bind order, what keeps a port in use, and the support probe (remote port 0: 82 = supported, 21 = not).89,PORT IN USE, with the note (as for 87 and 88 in Document UCI network command NET_CMD_GET_RANDOM ($20) #35) that the number means something else in other targets.Only
uci/network_target.rstchanges (52 added lines, LF line endings as in the file; based on upstream master2da134b). #35 appends GET_RANDOM at the end of the same file; this section is placed earlier, so the two do not overlap.AI use
The text was written with Claude Sonnet 5.5 in Claude Code and checked against the firmware by a separate Claude Opus 5.5 session. I have read and can explain every line.
cc @GideonZ @barryw
🤖 Generated with Claude Code