wip(0.S3): packages and examples migrated in one run - ludic migrate state packages <every example program> packages/ludic.lab/example/plate.ludic
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
d490d4f9f1
commit
3eda72e8c2
172 changed files with 3094 additions and 2966 deletions
|
|
@ -29,7 +29,7 @@ function net__packet(base_st: mut BaseState, net_st: mut NetState, n: int, ip: i
|
|||
}
|
||||
|
||||
# the known peer at that address, a stranger's new slot (a host, and only with a hello), or -1
|
||||
function net__slot_for(net_st: NetState, n: int, ip: int, port: int) -> int {
|
||||
function net__slot_for(net_st: mut NetState, n: int, ip: int, port: int) -> int {
|
||||
let token = nb_get32(net_st.net__in, 4)
|
||||
var slot = net__find(net_st, ip, port)
|
||||
if slot >= 0 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue