We develop a server on Delphi, using TROIndyTCPServer component, and a client on .NET, using IpTcpClientChannel component.
Large load on the server leads to large number of TCP connections with Time_Wait status. Number of such connection may grow and
exceed system resources which results in errors when connecting to the server.
Another concern that such behavior will lead to DOS attack vulnerability when server is accessible via internet.
- Run (on different computers in a local network) MegoDemo client from .NET examples and MegoDemoServer from
- Activate Indy TCP server in MegoDemoServer.
- Select the TCP Channel option in MegaDemo client and click the Run Multiple Tests button.
- Using NetStat or TCPView tools you can see tcp connections in time_wait state.
Advise how to resolve this problem?