X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-0.1 required=5.0 tests=AWL,BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Date: Sat, 24 Jan 2009 03:51:19 -0500 From: tmhikaru AT gmail DOT com To: cygwin AT cygwin DOT com Subject: Re: Problem using recv/read in my own program (SOLVED) Message-ID: <20090124085119.GA18719@roll> References: <20090124064514 DOT GA14847 AT roll> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090124064514.GA14847@roll> User-Agent: Mutt/1.4.2.3i Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 Note-from-DJ: This may be spam On Sat, Jan 24, 2009 at 01:45:14AM -0500, tm@ wrote: > Hi there, I'm trying to port an irc client from linux to windows > using cygwin. So far it's been pretty simple - it builds and runs, however > it cannot actually finish connecting to any irc server. By chance I noticed that my program was not binding the socket before trying to connect places; I have no idea why this works on linux. I figured I ought to reply to myself and let everyone know that I figured this out. Hikaru -- 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/