Results 1 to 5 of 5

Thread: Server - Client Ping???

  1. #1

    Thread Starter
    Member
    Join Date
    Oct 2000
    Posts
    51

    Question

    I want to use a Ping from server to a client via TCP!

    The Server should Ping all clients in my listbox to check if the clients are online!
    if some clients are not responsing, i will use
    case "noPing"
    Listbox.removeItem (index)


    need example!!!!!

    the clients send data "PCNAME" and the server write this name into my listbox. but a name have to deleted if one client are not responsing!

    Like(listbox)

    PC1
    PC2 <-not responsing after a time server remove this name!
    PC3
    PC4
    PC5

    name PC2 will be set back if this client app will be restartet and ping probably!!



    [Edited by Gear on 10-20-2000 at 05:48 AM]

  2. #2
    Frenzied Member Jop's Avatar
    Join Date
    Mar 2000
    Location
    Amsterdam, the Netherlands
    Posts
    1,986
    Sometimes the answer isn't that far away from you... (a few threads )

    http://209.207.250.147/showthread.php?threadid=36057
    Jop - validweb.nl

    Alcohol doesn't solve any problems, but then again, neither does milk.

  3. #3

    Thread Starter
    Member
    Join Date
    Oct 2000
    Posts
    51

    Hmm

    any simple code, maybe??????

    like:Server Ping to all clients in my listbox
    if any client is not respnsing server should remove client name from listbox.
    thats all!



  4. #4

    Thread Starter
    Member
    Join Date
    Oct 2000
    Posts
    51

    HHEELLPP

    I need Help!!! Please

  5. #5
    Hyperactive Member
    Join Date
    Aug 2000
    Posts
    258
    It pretty simple . When a client Logs onto the server add the pcname to a 2 dimensional array containing the Name and winsock index . Then use the winsock close event to detect the winsock index that closed the connection .
    Visual Basic 6 SP4 on win98se

    QUIT THE RAT RACE BECAUSE YOUR MESSING THE WORLD UP !!!!!

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