delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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 |
Date: | Sat, 8 Feb 2003 21:16:10 +0100 |
From: | Corinna Vinschen <corinna-cygwin AT cygwin DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: accept() seg faults using non-global address for buffer or socket structure |
Message-ID: | <20030208201610.GA7763@cygbert.vinschen.de> |
Reply-To: | cygwin AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <000c01c2cf34$053566b0$1801a8c0 AT EkstromDell> |
Mime-Version: | 1.0 |
In-Reply-To: | <000c01c2cf34$053566b0$1801a8c0@EkstromDell> |
User-Agent: | Mutt/1.4i |
On Fri, Feb 07, 2003 at 10:34:54PM -0700, J. J. Ekstrom wrote: > I've looked at every mailing list and FAQ for limitations on the Cygwin > accept() I can't find this one. > [...] > if ((new_s = accept(s, (struct sockaddr *)&sin, &len)) < 0) Cockpit error. Try initializing len before calling accept(2). Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developer mailto:cygwin AT cygwin DOT com Red Hat, Inc. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |