OLS: A proposal for a new networking API
Posted Jul 24, 2006 6:59 UTC (Mon) by neilbrown
In reply to: OLS: A proposal for a new networking API
Parent article: OLS: A proposal for a new networking API
The (a) problem with
open("/net/localhost/http", O_RDWR, 0)
type approaches is that they combine "socket" and "connect" into one
call, and so there is no room for doing anything in between like bind
or setsockopt. Those things aren't always needed, but sometimes they are.
You could try
but I don't think you would get very far.
Unfortunately IPC is simply very different from for file IO and trying
to use the same API will be a problem. Having an open_url library call
is about the best you can do.
to post comments)