Here is the sample code that I've tried. #include <sys/socket.h> #include <stdio.h> #include <errno.h>
#ifndef AF_HYPERV #define AF_HYPERV 34 #endif int main(void) { int s = socket(AF_HYPERV, SOCK_STREAM, 0); if (s > 0) printf("success\n"); else printf("%s\n", strerror(errno)); } Is this by-design? Or am I doing anything wrong? -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple