adamdunkels/uip
View on GitHub ↗ ★ 1,089 C
The historical uIP sources
5 mentions on Hacker News by 4 people: 0 stories, 5 comments · first 2014-11-16 · latest 2024-06-30
20082026
-
…stack for tiny microcontrollers) is a another fun real-world example for these types of coroutines: https://github.com/adamdunkels/uip/blob/master/uip/lc-switch...
comment by emmericp · 2024-06-30 · in Weekend projects: getting silly with C -
…good information about the minimal amount you need to implement to have a usable tcp/ip stack uip https://github.com/adamdunkels/uip is 2900 lines of c (uip/uip/ and uip/lib/); its example webclient is another 500. couple that with…
comment by kragen · 2024-01-09 · in bigFORTH (1997-) -
…code size is on the order of a few kilobytes and RAM usage is on the order of a few hundred bytes. https://github.com/adamdunkels/uip https://en.wikipedia.org/wiki/UIP_(software) (I believe uIP was extracted and improved upon from Contiki,…
comment by tpmx · 2023-10-31 · in Show HN: MicroTCP, a minimal TCP/IP stack -
…smallest TCP/IP stack I know of is Adam Dunkels's uIP. Running `sloccount .` in uip/uip cloned from https://github.com/adamdunkels/uip gives a count of 2796 lines of source code ("generated using David A. Wheeler's 'SLOCCount'."). uIP can…
comment by kragen · 2021-04-02 · in An HTTP server in a single .c file -
…use the coroutine stuff at all it seems. It's not used in the core but in the protocol servers: https://github.com/adamdunkels/uip/blob/master/apps/webserve... . All the PT and PSOCK code is protothreads.
comment by psykotic · 2014-11-16 · in Coroutines in C (2000)