|
-
Feb 13th, 2000, 02:32 AM
#1
Thread Starter
Junior Member
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.
-
Feb 14th, 2000, 12:48 PM
#2
Member
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|