site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com User-agent: Microsoft-Entourage/10.1.4.030702.0 My socket woes continue. I am attempting to open a socket from my client application to my loaded KEXT. My client is using the sample code copied nearly verbatim from page 20 in the "Network Kernel Extensions Programming Guide". The code successfully executes the call to socket( PF_SYSTEM, SOCK_DGRAM, SYSPROTO_CONTROL ) and the call to ioctl() successfully obtains the dynamic ctl_id of my loaded KEXT. However, when I make the call to connect() I get a -1 return and errno contains: "41 Protocol wrong type for socket". What is wrong? My search for clues turned up nothing pertaining to KEXTs. -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