public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* AF_HYPERV address family not supported
@ 2019-07-04 17:23 Biswapriyo Nath
  2019-07-04 18:50 ` Brian Inglis
  2019-07-10 18:41 ` Biswapriyo Nath
  0 siblings, 2 replies; 4+ messages in thread
From: Biswapriyo Nath @ 2019-07-04 17:23 UTC (permalink / raw)
  To: cygwin

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-07-10 21:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-04 17:23 AF_HYPERV address family not supported Biswapriyo Nath
2019-07-04 18:50 ` Brian Inglis
2019-07-10 18:41 ` Biswapriyo Nath
2019-07-10 21:52   ` Brian Inglis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).