select() too slow

Christopher Faylor cgf-no-personal-reply-please@cygwin.com
Tue Mar 14 19:18:00 GMT 2006


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/



More information about the Cygwin mailing list