MOTOBIT.COM - ASP upload, IIS utility Trace Class, Script traceroute ip/host object (for ASP/WSH), Member of Simple DNS+Traceroute

Member of  Simple DNS+Traceroute Use Trace object | Changes | Purchase | Download

Description

Provides TraceRoute (See asp or VB samples)

Methods

OneStep The OneStep method sends an ICMP echo request to the specified destination host and returns any replies received within the timeout specified.

Properties

IPFlagsIP header flags
Byte, RW
RequestSizeSize of request in bytes.
Long, RW
TimeOutTime in milliseconds to wait for reply
Long, RW
TTLTime To Live
Byte, RW
TypeOfServiceType Of Service
Byte, RW
DataSizeEcho data size.
Long, RO
RoundTripTimeRound Trip Time in milliseconds
Long, RO
StatusIP status value
IPStatus, RO

Examples

ASP Trace route

TraceRoute from www.motobit.com

Simple trace for VB

  Dim Trace
  Set Trace = CreateObject("TCPIP.Trace")
  Dim I, IP, RoundTripTime, Status, TTL
  Trace.TimeOut = 8000
  For I = 1 To 10
    IP = Trace.OneStep(I, "www.microsoft.com")
    Debug.Print IP & Chr$(9) & Trace.RoundTripTime & Chr$(9) & Trace.TTL & Chr$(9) & Trace.Status
    If Trace.Status = 0 Then I = 100
  Next I

Other links for Trace class

Simple DNS+Traceroute classes

DNS, Trace

Simple DNS+Traceroute enums

IPStatus

Simple DNS+Traceroute

      Object for simple IP adress and host name resolution, ASP and VB TraceRoute/ping.

© 1996 - 2009 Antonin Foller, Motobit Software | About, Contacts | e-mail: info@pstruh.cz