| delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| X-SWARE-Spam-Status: | No, hits=-2.2 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_46,SPF_PASS |
| X-Spam-Check-By: | sourceware.org |
| Message-ID: | <49D2E0D5.9050800@users.sourceforge.net> |
| Date: | Tue, 31 Mar 2009 22:34:45 -0500 |
| From: | "Yaakov (Cygwin/X)" <yselkowitz AT users DOT sourceforge DOT net> |
| User-Agent: | Thunderbird 2.0.0.21 (Windows/20090302) |
| MIME-Version: | 1.0 |
| To: | cygwin AT cygwin DOT com |
| Subject: | [1.7] socket(AF_INET6,...) |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Id: | <cygwin.cygwin.com> |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
--------------090001030206080404090700
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Can anyone explain why the attached STC returns an EAFNOSUPPORT?
Yaakov
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEAREIAAYFAknS4NUACgkQpiWmPGlmQSPVCACbBk7k6h16OuvgIr+XOr42jk30
Hq8AoLPvFWT5EZNt4HbPOy9nUqvkzAkt
=OViY
-----END PGP SIGNATURE-----
--------------090001030206080404090700
Content-Type: text/x-csrc;
name="test.c"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="test.c"
#pragma CCOD:script no
#include <errno.h>
#include <string.h>
#include <stdio.h>
#include <sys/socket.h>
int
main(void)
{
if (socket(AF_INET6, SOCK_STREAM, 0) < 0) {
printf("ERROR: %s\n", strerror(errno));
return 1;
} else {
printf("Success!\n");
return 0;
}
}
--------------090001030206080404090700
Content-Type: text/plain; charset=us-ascii
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
--------------090001030206080404090700--
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |