Re: wanted: sosend() howto
Re: wanted: sosend() howto
- Subject: Re: wanted: sosend() howto
- From: Quinn <email@hidden>
- Date: Thu, 18 Sep 2003 23:05:28 +0100
At 10:20 +0200 17/9/03, Stefan Werner wrote:
Sure, but what else am I supposed to do to send UDP packets? The
usual user APIs like bind() or sendto() are not available in the
kernel.
In general Apple recommends that you avoid doing networking from
kernel code because it requires you to use BSD in-kernel 'APIs', and
there's no promise of binary compatibility for those APIs. A better
solution is to use a user space daemon to do the networking on behalf
of your kernel extension. This is, for example, what our WebDAV VFS
plug-in does.
If you can explain a little more about the big picture of your kernel
extension, I might be able to suggest an alternative design that will
make the networking simpler.
S+E
--
Quinn "The Eskimo!" <
http://www.apple.com/developer/>
Apple Developer Technical Support * Networking, Communications, Hardware
_______________________________________________
darwin-kernel mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/darwin-kernel
Do not post admin requests to the list. They will be ignored.