delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/03/14/15:33:18

X-Spam-Check-By: sourceware.org
Date: Tue, 14 Mar 2006 15:33:11 -0500
From: Christopher Faylor <cgf-no-personal-reply-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: select() too slow
Message-ID: <20060314203311.GB3147@trixie.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
References: <20060314191855 DOT GA17565 AT trixie DOT casa DOT cgf DOT cx> <001401c6479d$fc88d020$a501a8c0 AT CAM DOT ARTIMI DOT COM>
Mime-Version: 1.0
In-Reply-To: <001401c6479d$fc88d020$a501a8c0@CAM.ARTIMI.COM>
User-Agent: Mutt/1.5.11
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

On Tue, Mar 14, 2006 at 07:32:09PM -0000, Dave Korn wrote:
>On 14 March 2006 19:19, Christopher Faylor wrote:
>>On Tue, Mar 14, 2006 at 06:59:28PM +0000, Pedro Inacio wrote:
>>>Hello again,
>>>
>>>as promised attached you will find a very simplistic non-blocking echo
>>>server that compiles on Linux and Cygwin.  The main objective is that
>>>you compile it and run on both environments.  Of course that the same
>>>hardware is recommended in order to compare the results in a more
>>>accurate way.
>>>
>>>After compile and run it, on a different machine you do something like:
>>>
>>>$ time cat big_file | nc ?w 1 echo_server_ip_address port > dest_file
>>
>>Please provide the *exact* command you used to run this.  You don't
>>have to provide the "big_file" but the above command contains a garbage
>>character which can't be what you actually typed.
>
>This is a charset-encoding-vs-mime issue.  It came out as a visible
>hyphen in my mailer.
>
>Actually, since the OP was posting from a Mac, maybe it's a codepage
>issue?

I know that the above is likely to be a dash.  The point I was trying to
make was that if you provide a test case you should provide, as much as
possible, the exact command needed to duplicate the problem.  Having to
guess about "echo_server_ip_address" and "port" and if that is actually
a dash in front of the 'w', is just putting barriers in front of anyone
who is trying to debug the problem.

cgf

--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019