Hi All,
Thanks to all for answering my last question, include netinet/in.h
and it worked fine. I thought that would be included by something
else. Thanks.
I have written a server that sits in a select loop with a timeout of
10 secs waiting for connections on a socket. I have written a client
that just connects to that socket and writes argv[1] to it and receives
from the server and exits. I put that in a script that calls it over
and over (no sleep). This runs pretty fast. At about 4000 interations
through the loop the server stops responding for some time. I know this
because the client gives a connect error: Resource temporarily
unavailable. Am I doing something wrong here or is it just the kernel
catching up to me.
I am writing a server which a cgi will connect to and pass data.
Since it is a cgi then multiple people can connect and send data nearly
simultainously. I just want to see how it will perform under a heavy
load. Anyone have any ideas on how to test this.
Thanks
Glenn
--
Glenn MacGregor
Director of Services
Oracom, Inc.
http://www.oracom.com
Tel. +1 978.557.5710 Ext. 302
Fax +1 978.557.5716
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]