X-Spam-Check-By: sourceware.org Date: Tue, 14 Mar 2006 14:18:55 -0500 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: select() too slow Message-ID: <20060314191855.GA17565@trixie.casa.cgf.cx> Reply-To: cygwin AT cygwin DOT com References: <1753CE61-D772-46F7-8393-84E419E49307 AT ptnix DOT com> <4412EF74 DOT 1070500 AT byu DOT net> <890F74C6-8E51-405F-86CC-551170A2EA70 AT honeynet-pt DOT org> <20060311181653 DOT GA10054 AT trixie DOT casa DOT cgf DOT cx> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.11 Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk 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 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. What is "echo_server_ip_address" and "port" in the above? Again, if you want help, you are going to have to try harder to explain exactly what you are doing. 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/