-
I do have a contact database with a lot of contact information (like IP address).
I want my program search the entire data every minute, and see if any contact is on line and add it to list box, than display the list box.
NOTE: all the contact are using the some program.
Thank you very much.
Mohammed.
-
put it in a timer... set interval to 60000 (which is about 1 minute)
have the timer read the database, and attempt to connect to each user (in order) on a port which the others are listening on.
Use the Winsock control for this.
If the connection succeeds, user is online so add them to listbox. If it fails (error generated), then they are offline.
then move to next user
Since I'm not sure what the exact problem you are having is... I can't be any more specific (other than writing out an entire program for you which is no fun :) )
------------------
Rapmaster