AF_HYPERV address family not supported
Biswapriyo Nath
nathbappai@gmail.com
Thu Jul 4 17:23:00 GMT 2019
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
More information about the Cygwin
mailing list