|
|
|
|
|
by RyanZAG
4753 days ago
|
|
Agreed there - maybe a possible option would be to flag a specific port as being non-BSD sockets? So when the kernel reads the port, some short circuit logic could trigger and dump out to a different socket implementation? That would allow legacy to run fine, and then let apps trigger a special flag when binding a socket to allow for direct access. The routing part of tcp/ip happens before BSD sockets are hit, so this should do an end-run around the BSD socket overhead. Then you could have your system running as normal, but allowing your http server special access to network i/o. Any kernel hackers around who can comment? |
|