aboutsummaryrefslogtreecommitdiffstats
path: root/net
AgeCommit message (Collapse)Author
2024-01-18ws: fix typoturret
2024-01-17net: minor refactorturret
enforce 78 character limit add comments for reasoning and description purposes
2024-01-17net: basic ws handlerturret
includes heartbeat mechanism
2024-01-12net: format WSS url properlyturret
libcurl requires first 3 characters of a wss url (i.e. wss://example.com) to be capital, so instead WSS://example.com. so we modify the assume url to use WSS and ensure the returned URL from discord uses the WSS capital scheme
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)