accept() seg faults using non-global address for buffer or socket structure
Corinna Vinschen
corinna-cygwin@cygwin.com
Sat Feb 8 20:16:00 GMT 2003
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@cygwin.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/
More information about the Cygwin
mailing list