in-kernel tcp server
Nicolas Cormier
n.cormier at gmail.com
Mon Jun 18 09:27:40 UTC 2007
Hi,
I'm trying to write a little tcp-server kernel module (like tftp).
I didn't find a lot of documents about the kernel network programming,
just one thread which talks about netgraph.
In the freebsd includes I found /usr/include/sys/socketvar.h (so*).
What's the easy way to create a basic tcp server
(create/bind/listen/accept/send/recv) : use netgraph's ksocket or so*
?
Thanks in advance !
PS: the whole job must be done in the kernel.
--
Nicolas Cormier
More information about the freebsd-hackers
mailing list