winsock connecting to multiple IP addresses
Posted on 2004-04-04
I am writing a program to control some video projectors that have LAN port connectivity. Each projector will have its own IP address, e.g Projector 1 = 192.168.10.20, Projector 2 = 192.168.10.21, etc. They all listen on the same port (I think it is 7142). How do I set up Winsock to send and recieve information from each of the addresses? Do I need multiples instances of Winsock? Please tell me the easiest route, I am fairly new to Winsock functionality.