Results 1 to 2 of 2

Thread: PLEASE HELP!!!!!!!!

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Dec 1999
    Location
    Columbus, OH, USA
    Posts
    16

    Post

    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.

  2. #2
    Member
    Join Date
    Feb 2000
    Posts
    43

    Post

    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
  •  



Click Here to Expand Forum to Full Width