X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:from:date:message-id:subject:to :content-type; q=dns; s=default; b=eud6+D58DfsL2TJr3WkMMFPg1M0/W HMp4jvbm411BzMsG1ioJJkX+48iVXzs5JXcW7Em1a7Ey5qFYEZjFCj/CxEi3gQ8S JqP6QUO8lzVvB7Q/umKuiZW1Q2jLpspP1DJS1POWmToQwVd6DbvtE5IKeCYYSofZ NrQYjzybEVKFsE= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:from:date:message-id:subject:to :content-type; s=default; bh=gysZJZiEGgylszrSZiljut7jTdw=; b=dpz Y6zIN4e9+hXjldRR+3vMMzn4x0QHKDtusJ469BywFUTWjOVs31OGu9snZ+Fb77Mq hd68831fjK0ZDhpwOC6+4WkATFFMT7PfgIgV6QeuuI3Nv5QALQFdj17yjYAAsGRv 6RGetAbHmQdBYtiw+Lwufaf6YAGf7IsrOG0bLCYQ= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.1 spammy=HX-Gm-Message-State:APjAAAV, H*c:alternative, family X-HELO: mail-io1-f42.google.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=QHhrbZG0TV30bGpBga9dkqOJZzp8OX5pxXGzB93+IK0=; b=M9oOPZYBkWIh5vc/eKX/IYefK0zuNhLaUkC6lT/qeOuqIm5839iAbKb48bFHp5jknF 7S5z3Db5P3JNo9LuUBpqmqCWQIMpcwExpbIUv4dUu8cYfn+6Y3++9MYbPDqinfJnsVuC 4ADh7LlJoz69Zkd0NmYJBsL9GOCkaRgSIYx3pjjzKoglVROlOXktsZNMJdQkwmwostLq PM6gQolqSfCx29oLcRCyFIn9gsrfbYa0wF26YgQblVWpO8FwWfftGUpWqijbfyIejs1m 16fjSCkle8ZpJQvrEyTX1HWopA9rK9H/3LOh/C07VQmX8ThKGKqbd2M3rVMTLswGama+ rGFw== MIME-Version: 1.0 From: Biswapriyo Nath Date: Thu, 4 Jul 2019 22:53:11 +0530 Message-ID: Subject: AF_HYPERV address family not supported To: cygwin AT cygwin DOT com Content-Type: text/plain; charset="UTF-8" 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 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