ada-playground/epollecho
R. Tyler Croy 81445f2682 Ignore the obj/ directory 2013-03-24 18:34:55 -07:00
..
src Properly handle EAGAIN for epollecho 2013-03-24 18:26:02 -07:00
.gitignore Ignore the obj/ directory 2013-03-24 18:34:55 -07:00
README.md Add a simple readme 2013-03-24 18:34:34 -07:00
epollecho.gpr Add some beginning work to make an epoll(7) based echo server 2013-03-24 17:15:43 -07:00

README.md

epoll echo

Simple example of building a little epoll(7)-based server

Known Issues

  • This code is ugly.
  • The Accept_Socket code will not handle multiple clients connecting at the same time. This is easily accomplished by having a loop that would accept incoming connections and then bail out on an EAGAIN or EWOULDBLOCK.