We have a C socket client, who initiates the socket request. They close the socket connection after use. (They open multiple connections within a socket.
We have a java socket server (wM), who accepts the connections and send data through an OutputStream. We never close the OutStream and the Socket server.
Problem: When they open new connections, they sometimes get timeout, since server on our side cannot accept connections since there are threads already hanging from previous connections.
It’s a windows box on the server side. How can we dynamically kill the connection threads st the server. Or any other better solutions?
#Flow-and-Java-services#webMethods#Integration-Server-and-ESB