Commit graph

  • 2fea95e100 nice readme; fix makefile master root 2025-05-17 10:46:05 +00:00
  • 44cf92c998 fix: read(2)ing too many bytes root 2025-05-17 09:07:03 +00:00
  • c90622c564 fix: client__pollout always returning error, not handling error root 2025-05-17 08:46:26 +00:00
  • 76b53ad30c fix: negative line length, write(2) to bad fd root 2025-05-17 08:37:23 +00:00
  • 65dc844f54 typo: writing buffer_len to somewhere undefined root 2025-05-17 08:27:15 +00:00
  • 05f614b224 typo: writing POLLOUT beyond pollfds array bounds root 2025-05-17 08:20:30 +00:00
  • cbde04fc7c client__pollin diagram root 2025-05-17 08:15:07 +00:00
  • 484d81baa8 client__pollin: read as much as possible; client__pollout: do processing root 2025-05-17 08:10:55 +00:00
  • 8ab750ba97 bugfix: removing pollfds[0] actually removed pollfds[-1] root 2025-05-13 12:22:34 +00:00
  • 29f54ba779 echo server, multiple clients, lines <256 bytes root 2025-05-13 12:07:03 +00:00
  • d54596514c echo then close connection root 2025-05-11 08:22:07 +00:00
  • 60e9bcf95c todo: error conditions root 2025-05-07 14:35:20 +00:00
  • d69183c0d1 simplify pollfd deletion: by index root 2025-05-07 14:31:55 +00:00
  • f096cb00e7 say goodbye to clients then close socket root 2025-05-07 14:20:06 +00:00
  • 1cf28e9565 bugs root 2025-05-07 13:57:04 +00:00
  • 72b9f421e1 loop pollfds: only checking server for now root 2025-05-07 13:35:04 +00:00
  • 9f3d59cf15 separate into files root 2025-05-07 11:38:19 +00:00
  • 0038b22aca poll(2) in a loop root 2025-05-07 10:35:00 +00:00
  • 08f4db4d2b poll(2) on the server socket; pollfds array root 2025-05-07 10:29:21 +00:00
  • 5c129207ae constants.c: sizeof int and short root 2025-05-07 08:04:01 +00:00
  • d190827141 small fix: copying 8 bytes at once root 2025-05-04 15:24:55 +00:00
  • 80ecf726e7 nonblocking socket root 2025-05-04 15:22:34 +00:00
  • fbd0c7735b c header files constants root 2025-05-04 15:11:31 +00:00
  • 44d1729d94 unlink existing socket file root 2025-05-04 14:50:45 +00:00
  • e3ab67013e bind to unix socket root 2025-05-04 14:42:56 +00:00
  • e855248606 makefile root 2025-05-04 11:26:20 +00:00
  • 1f0adc0a69 hello world root 2025-05-04 11:19:41 +00:00
  • f15e3f33c2 gitignore root 2025-05-04 11:12:39 +00:00