Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Winsock control PING

Status
Not open for further replies.

rann

Programmer
Sep 13, 2001
86
US
Hi,
I had created a Client Server application using winsock control
everthing works fine but i need to PING from client to server
or server to client to find if either of them are UP.

how do i PING using winsock control.

For example you could use the word PING and the IP address
in comman prompt to find if the IP address is correct.I want to do
this using a wincock control.

Any help or Links would be appreciated,

Thanks in Advance.

Rann.

 
Have you looked into the winsock state property. It returns the state of the socket connection. I believe that there are several state possibilities, one of which is open. Thanks and Good Luck!

zemp
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top