|
OLS: A proposal for a new networking APIOLS: A proposal for a new networking APIPosted Jul 24, 2006 15:14 UTC (Mon) by mheily (subscriber, #27123)In reply to: OLS: A proposal for a new networking API by neilbrown Parent article: OLS: A proposal for a new networking API
Or better yet, extend the path heirarchy to include the IP address and port, then allow setsockopt to operate on file descriptors:
fd = open("/net/localhost/ip/192.168.0.1/1023", O_RDWR, 0);
You could bind to all interfaces by binding to 0.0.0.0 like so:
fd = open("/net/localhost/ip/0.0.0.0/1023", O_RDWR, 0);
(Log in to post comments)
|
Copyright © 2008, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds
Powered by Rackspace Managed Hosting.