J
Joshua Jung
Hi, I've built a client-server program that is designed to test server
load on a brand new Mac Pro machine of ours.
There are two programs: a server and a client generator. The server sits
idly waiting for connections (done in SSL), and the client just generates
a ton of clients at evenly spaced intervals (like every 100 milliseconds
or so).
For some reason, on the Mac machine, I get random "SocketConnection:
Socket Closed" errors when I try to do write operations. I can not trace
down any rhyme or reason as to why this is happening and nearly went crazy
trying to debug my code... and then I tried the same code on my Dell
Laptop running Ubuntu... worked like a charm!
Why would I be losing sockets like this?
Josh <><
load on a brand new Mac Pro machine of ours.
There are two programs: a server and a client generator. The server sits
idly waiting for connections (done in SSL), and the client just generates
a ton of clients at evenly spaced intervals (like every 100 milliseconds
or so).
For some reason, on the Mac machine, I get random "SocketConnection:
Socket Closed" errors when I try to do write operations. I can not trace
down any rhyme or reason as to why this is happening and nearly went crazy
trying to debug my code... and then I tried the same code on my Dell
Laptop running Ubuntu... worked like a charm!
Why would I be losing sockets like this?
Josh <><