This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

AF_HYPERV address family not supported


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]