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 | darwin-kernel@lists.apple.com Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-kernel Do not post admin requests to the list. They will be ignored.
participants (1)
-
Stefan Werner