-
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]
-
Sometimes the answer isn't that far away from you... (a few threads :))
http://209.207.250.147/showthread.php?threadid=36057
-
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!
-
HHEELLPP
-
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 .