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
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:
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");
>
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
4 matches
Mail list logo