Socket programming and virtual IP

Hi All,
I am new to this group, I am developing a tool to simulate 1000 devices. I am creating 1000 virtual IP i want to listen to all these virtual IP's. How can i do this in using sockets. Any help regarding this is appriciated.

Thank You ALL,

fork each socket in its own thread?

... use thread ...
or/and open a 'super-socket' to catch all data filtering out what you need and what you dont :cool: