Hi Michelis
I could be wrong but you may be running into this Windows Networking titbit:
"By default, ephemeral (that is, short-lived) ports are allocated between the values of 1024 and 5000
inclusive using the MaxUserPort parameter. The TcpTimedWaitDelay parameter, which controls the amount
of time the OS waits to reclaim a port after an application closes a TCP connection, has a default
value of 4 minutes."
Sounds like your app is using the NetAuto objects. If so then..
- NetClient establishes end-to-end connections with all other available objects
- It periodically “refreshes” these connections by making new connections
Constantly “renewing” connections eventually causes the PC to “run out” of free ports ie. new ports are being used at a rate faster than windows is releasing unused ports, and this eventually causes TCP/IP on the machine to choke.
Try adjusting your registry with these settings:
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters]
"TcpTimedWaitDelay"=dword:0000005a
"MaxUserPort"=dword:0000fffe
Hope that helps
Cheers
Graham