wanted: sosend() howto
wanted: sosend() howto
- Subject: wanted: sosend() howto
- From: Stefan Werner <email@hidden>
- Date: Tue, 16 Sep 2003 17:56:01 +0200
Hi,
I want to send UDP packets from kernel space and am currently
struggling with the sosocket() call. It appears to be close to
undocumented and almost an hour of research on google did not turn up
much. I'd be very happy if I could get a simple code snippet that will
allow me to send a void* buffer (I haven't figured out how to use mbuf
yet) to a remote IP/Port. I found a little code in the nfs source code,
but I couldn't quite figure out where exactly the payload is and what
the other values mean.
Thanks a lot,
Stefan
_______________________________________________
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.