aboutsummaryrefslogtreecommitdiffstats
path: root/net/net.c
AgeCommit message (Collapse)Author
2024-01-11net: minor optimisationsturret
break out of WSS compatability checker loop when we find a valid match for wss
2023-12-18*: enforce 78 char line limitturret
2023-12-18net: panic if wss not supported by libcurlturret
2023-12-18net: get gateway urlturret
basic api http_get function, (which the definition of will def. change in the future) uses libcurl to get the api /gateway to get the wss url, and assumes a url in case of failure so we at least try authenticating
2023-11-19misc: minor bugs and commentsturret
sprinkle a little bit of commenting throughout the codebase. hopefully i dont regret what i've written - clone: bottom of stack is passed through - print: write newline at end of message - initcall: functions return void type very basic net startup. hopefully i dont regret implementing the websocket protocol myself in a language as holy as C.
2023-11-19Initial committurret
- create subsystem system using clone syscall, shared memory, shared file descriptors - printk-like logging facility (TODO: console loglevel) - initcall system (like linux kernel) TODO: determine license factors: linker.ld, linux kernel licensing (some ideas are more liberally taken rather than paraphrased)