Date: Wed, 20 Jun 2007 13:38:10 -0700 From: John Polstra <jdp@polstra.com> To: Nicolas Cormier <n.cormier@gmail.com> Cc: freebsd-hackers@freebsd.org, Julian Elischer <julian@elischer.org> Subject: Re: in-kernel tcp server Message-ID: <46799032.5060009@polstra.com> In-Reply-To: <c4630b800706201239jdf09685t1574e78493492029@mail.gmail.com> References: <c4630b800706180227x2f1f433dr4ef55e8623062bf1@mail.gmail.com> <467787EF.9060009@elischer.org> <46797825.10900@polstra.com> <c4630b800706201239jdf09685t1574e78493492029@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?46799032.5060009>