21 ms·
It has been a while, but you may want to look at: - https://en.wikibooks.org/wiki/Ada_Programming/Libraries/GNAT.Sockets https://en.wikibooks.org/wiki/Ada_Prog
by johnisgood 6y ago
It has been a while, but you may want to look at:
- https://en.wikibooks.org/wiki/Ada_Programming/Libraries/GNAT.Sockets https://en.wikibooks.org/wiki/Ada_Programming/Libraries/GNAT... (search for "C select()")
- https://www.codelabs.ch/anet/ https://www.codelabs.ch/anet/
- https://github.com/samueltardieu/adasockets https://github.com/samueltardieu/adasockets
- https://github.com/rtyler/ada-playground/blob/master/epollecho/src/main.adb https://github.com/rtyler/ada-playground/blob/master/epollec...
Some old reading: https://brokenco.de/2013/04/07/async-with-ada.html https://brokenco.de/2013/04/07/async-with-ada.html
You may want to check how GNAT.Sockets and Anet are implemented, too. I know that GNAT code is heavily documented.
- mousepilot 6y agothanks man, your post is a great timesaver, that wikibooks link itself is packed with info!
- johnisgood 6y agoOf course, you are welcome!