Why not use the Sockets Extensions API which provide both explicit memory management which is suitable for copy avoidance as well as asychronous communication and event management calls? The API is available today from the OpenGroup and was developed by Socket implementers based on experience with a variety of Socket and AIO / POSIX implementations.
Copyright © 2018, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds