Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 Message-ID: <416CCCB8.4040200@hq.astra.ph> Date: Wed, 13 Oct 2004 14:35:36 +0800 From: Carlo Florendo User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7) Gecko/20040616 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: other services ok, ftp not (was 1.5.11 - tcp problems) References: <4745850620 DOT 20040921112624 AT scenta DOT co DOT uk> <416B3A95 DOT 4010506 AT hq DOT astra DOT ph> <416C92BD DOT 90100 AT hq DOT astra DOT ph> <416CC006 DOT 3D4ECDEF AT dessent DOT net> <416CC105 DOT B1C945CA AT dessent DOT net> In-Reply-To: <416CC105.B1C945CA@dessent.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Brian Dessent wrote: >Brian Dessent wrote: > > > >>cat <getservbyname-mingw.c && gcc -mno-cygwin \ >> getservbyname-mingw.c -o getservbyname-mingw && ./getservbyname-mingw >> >> > >Correction: add "-lws2_32" to the gcc options. > >-- >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/ > > > > Oh, thank you. I've actually done it and my previous post actually shows the output of the executable compiled with gcc -mno-cygwin -lws2_32 getservbyname-mingw.c There's something definitely wrong here. I know that doing the compile should work. Things are strange.... Thanks! Best Regards, Carlo -- Carlo Florendo Astra Philippines Inc. www.astra.ph -- 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/