my cgi application in c++ uses another application written in c++ to talk to mainframe using TCP/IP call.
When i am increasing the number of request from cgi to that application , i am getting WSAECONNREFUSED error code.
I know WSAECONNREFUSED means No connection could be made because the target machine actively refused it. This usually results from trying to connect to a service that is inactive on the foreign host - i.e. one with no server application running.
Can any body help me resolving this issue.How can I change my application to increase the number of request that it can handle.