Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/omega-mv/blob/main/seed/net/notls.om # omega-mv Omega: a language for verified programs, semantic identity and machine realization. Seed-born work and existing implementations have distinct provenance. Brought by drakestapleton Sign in to star 1 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `omega-mv / seed / net / notls.om` 14 lines ยท 715 bytes Raw Blame History 1 note seed/net/notls.om -- the transport hooks of http.om for a program built without TLS. 2 note Library unit: no `om2` line, no `fn main`, no globals. Compose it right after http.om: 3 note { printf 'om2\n'; cat seed/net/http.om seed/net/notls.om app.om; } | seed/out/omc > app 4 note Every hook refuses with HENOSUP, so a connection whose HXPORT is not 0 cannot move bytes; 5 note seed/net/https.om is the implementation that plugs om/tls into these three names. 6 fn htlsrecv cs edit ulong * io edit uchar * off ulong n ulong to long 7 ret HENOSUP 8 end 9 fn htlsrecvd cs edit ulong * io edit uchar * d edit uchar * to long 10 ret HENOSUP 11 end 12 fn htlssend cs edit ulong * io edit uchar * off ulong n ulong to long 13 ret HENOSUP 14 end