delorie.com/archives/browse.cgi | search |
X-Spam-Check-By: | sourceware.org |
X-T2-Posting-ID: | dCnToGxhL58ot4EWY8b+QGwMembwLoz1X2yB7MdtIiA= |
X-Cloudmark-Score: | 0.000000 [] |
Date: | Mon, 16 Jan 2006 02:00:05 +0100 |
From: | Samuel Thibault <samuel DOT thibault AT ens-lyon DOT org> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: socket programming -- operation now in progress |
Message-ID: | <20060116010005.GG4907@bouh.residence.ens-lyon.fr> |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <ce9f9c750601151649i560d42bbi99a1754c3e693f7e AT mail DOT gmail DOT com> |
Mime-Version: | 1.0 |
In-Reply-To: | <ce9f9c750601151649i560d42bbi99a1754c3e693f7e@mail.gmail.com> |
User-Agent: | Mutt/1.5.9i-nntp |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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 |
Tim, le Sun 15 Jan 2006 18:49:46 -0600, a écrit : Hi, > On connect(), I get an error "Operation now in progress." > > connect(sock, (struct sockaddr*)&time_serv, sizeof(struct sockaddr)); > perror("connect"); Does connect() return -1 ? If not, errno has an undefined value and shouldn't be looked at. Regards, Samuel -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |