in-kernel tcp server
John Polstra
jdp at polstra.com
Wed Jun 20 20:38:14 UTC 2007
Nicolas Cormier wrote:
> Thanks a lot for your answer, a last question "why did you not used
> so* functions ?"
Using ng_ksocket is almost the same as using the so* functions, since
the ksocket methods call the so* functions. But by using netgraph, you
get a nice management interface, too.
For my application, I found that going through the socket layer (the so*
functions and/or ng_ksocket) hurt performance too much. That's why I
ended up bypassing them.
John
More information about the freebsd-hackers
mailing list