site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com User-agent: Microsoft-Entourage/10.1.4.030702.0 The Network Kernel Extensions Programming Guide, section KEXT Controls and Notifications, describes how an application client can communicate with a KEXT via sockets. There is a bare bones code snippet that uses socket, ioctl, connect, and setsockopt calls. It does not say which framework nor which header file to use. I would assume it needs sys/socket.h? However, there is a header sys/kpi_socket.h that defines a socket api and all funtions are prefixed with "sock_". The parameters are slightly different from the functions defined in sys/socket.h. What are these sock_ calls for? Is the NKE doc in error? Or are the sock_ calls for sockets used only within KEXTs and not a client app talking to a KEXT? -Allan _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... This email sent to site_archiver@lists.apple.com
participants (1)
-
Allan Hoeltje