Re: in-kernel tcp server
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
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
討論串 (同標題文章)
完整討論串 (本文為第 4 之 12 篇):