OstroSoft - Home of Internet Tools
OstroSoft ICMP Component (OSICMP.dll)

OSICMP.dll is a COM library for Visual Basic 6, allowing to create custom ping and traceroute implementations.
By using OSICMP.dll you agree to terms of License Agreement

for use with Visual Basic 6 (any edition):
1)download ICMP_component.zip
2)unzip OSICMP.dll from it to Windows System directory
3)run "regsvr32 OSICMP.dll" from command-line

for use with .NET, Visual Basic 4 or 5, Visual C++, ASP, VBA, VBScript, JavaScript or any other language, supporting COM:
1)download ICMP_component.exe
2)run downloaded file from Windows Explorer or command-line


Ping object
allows to test network connectivity with remote host, by sending echo ICMP packet

Methods:
object.Send([HostName As String], [Timeout As Long], [PacketSize As Long])
Send ICMP request to remote host
object.Sleep(n As Long)
Suspend program execution for a specified length of time, in milliseconds
Properties:
object.HostName
Remote host name or IP address
object.IP
Replying (remote) host IP address
object.PacketSize
Size of the ICMP request, in bytes
object.RoundTripTime
Time taken by ICMP request to reach remote host and return, in milliseconds
object.Status
Status of ICMP request
object.Timeout
Time to wait for replies, in milliseconds
object.TTL
Time to live

Traceroute object
allows to trace the network path to remote host

Methods:
object.Send([HostName As String], [Timeout As Long], [PacketSize As Long], [Hop As Long])
Send ICMP request to remote host
object.Sleep(n As Long)
Suspend program execution for a specified length of time, in milliseconds
Properties:
object.Hop
Hop number in a trace
object.HopIP
IP at specified hop
object.HostName
Remote host name or IP address
object.IP
Replying (remote) host IP address
object.PacketSize
Size of the ICMP request, in bytes
object.RoundTripTime
Time taken by ICMP request to reach remote host and return, in milliseconds
object.Status
Status of ICMP request
object.Timeout
Time to wait for replies, in milliseconds
object.TTL
Time to live