hi,
i need to replicate the ping in command prompt. i'm currently using the following:
but i need to get the same response as the ping in command prompt ie..Code:Try If My.Computer.Network.Ping(mtbIPAddress.Text) Then rtbLog.AppendText("Response") Else rtbLog.AppendText("Reject") End If Catch ex As Exception rtbLog.AppendText("Reject") End Try
how do i get the bytes, time and TTL?Code:Pinging www.l.google.com [74.125.71.104] with 32 bytes of data: Reply from 74.125.71.104: bytes=32 time=240ms TTL=53 Reply from 74.125.71.104: bytes=32 time=313ms TTL=53 Reply from 74.125.71.104: bytes=32 time=256ms TTL=53 Request timed out. Reply from 74.125.71.104: bytes=32 time=251ms TTL=53
thanks




Reply With Quote