This is the mail archive of the
cygwin
mailing list for the Cygwin project.
AF_HYPERV address family not supported
- From: Biswapriyo Nath <nathbappai at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Thu, 4 Jul 2019 22:53:11 +0530
- Subject: 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