Re: AF_HYPERV address family not supported

2019-07-10 Thread Brian Inglis
On 2019-07-10 12:41, Biswapriyo Nath wrote: > Can anyone provide a function calls between cygwin socket() and Windows > socket() as a flowchart? For example, with AF_INET. > > In source code (fhandler_socket_inet::socket), I see bunch of function > pointers which seems confusing to me. Most under

Re: AF_HYPERV address family not supported

2019-07-10 Thread Biswapriyo Nath
Can anyone provide a function calls between cygwin socket() and Windows socket() as a flowchart? For example, with AF_INET. In source code (fhandler_socket_inet::socket), I see bunch of function pointers which seems confusing to me. -- Problem reports: http://cygwin.com/problems.html FAQ:

Re: AF_HYPERV address family not supported

2019-07-04 Thread Brian Inglis
On 2019-07-04 11:23, Biswapriyo Nath wrote: > Here is the sample code that I've tried. > > #include > #include > #include > > #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"); >

AF_HYPERV address family not supported

2019-07-04 Thread Biswapriyo Nath
Here is the sample code that I've tried. #include #include #include #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