PDA

Click to See Complete Forum and Search --> : PLEASE HELP!!!!!!!!


Mohammed
Feb 13th, 2000, 01:32 AM
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.

Rapmaster
Feb 14th, 2000, 11:48 AM
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