Maximum IP Address limit in WinXP and Win2K3

Hello All,

I am trying to add 40,000 IP address to a machine with 4 NIC’s. I am not
able to know the maximum IP addresses which can be added.

I am using Win2k3 (with SP1) and WinXP (withh SP2) with 2GB RAM.

Is there a maximum limit on number of sockets that can be opened in a
process or operating system limit on maximum sockets?

Thanks in advance,
Vibhor Mahajan