I'm using a windows Xp (sp2, firewall disabled) to connect to a Sony
IP camera. (RZ20)
Several times a day I won't receive for 3 seconds any images. After
some traces I found the following.

PC --> Syn --> Camera
Camera --> Syn/Ack --> PC

After this last "Syn/ack" everything stops. The PC doesn't send a ACK
to open the connection.
It takes 3 seconds and then the PC initiates a new connection using
SYN and then I receive an image.

Following registry keys have been set to improve:
\HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Para meters\MaxUserPorts
= 65535
\HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Para meters
\TcpTimeWaitDelay = 30

However to no avail.

Is there a scaling problem on windows when a lot of sockets are in

I'm requesting 10 images/second from the camera. (Non blocking)