MoTT
06-08-2003, 01:05 PM
I've made a simple messaging program for 60 or so computers at school. It uses the winsock control and sends scheduled alerts out. Sometimes it is neccessary to send global messages.
I have the list of IP address in a .txt. Here is the first few lines:
192.168.99.2
192.168.99.3
192.168.99.4
192.168.99.5
192.168.99.6
192.168.99.7
Is it possible to read the first line, set winsock1.remoteip as the first line, send the message, then move onto the next line? In effect sending a message to each IP address
I know I could create more winsock controls, but like I said, there are about 60 computers.
I'm not sure if this is in the right section, sorry if it isn't!
I have the list of IP address in a .txt. Here is the first few lines:
192.168.99.2
192.168.99.3
192.168.99.4
192.168.99.5
192.168.99.6
192.168.99.7
Is it possible to read the first line, set winsock1.remoteip as the first line, send the message, then move onto the next line? In effect sending a message to each IP address
I know I could create more winsock controls, but like I said, there are about 60 computers.
I'm not sure if this is in the right section, sorry if it isn't!