MiniM. Saving time.


| About | Download | Tools | Knowledge Base | How to Buy |

MiniM Overview

Getting Started

Download

Documentation

Tools

Cache Tools

GT.M Tools

Knowledge Base

FAQ

Contacts

Copyrights

MiniM Additional Tools | RUS | Jun 09, 2012

MiniM ICMP ZDLL Utility

ICMP utility consists of:

  1. external ZDLL module zicmp.dll
  2. routine ^%ZICMP
Routine ^%ZICMP implements one function:
$$ping(host,ok,fail,count=1)
Function returns as a value middle responce time of icmp packets in milliseconds. Variables ok and fail must be passed by referense to get number of packets was delivered successfully and not delivered respectively. Arguments host and count specify name of ip host to be checked and number of packets to send.

Example:

USER>s ret=$$ping^%ZICMP("karataev.nm.ru",.ok,.failed,4)

USER>w
failed=0
ok=4
ret=50

At start ^%ZICMP utility ask name of ip host to check and sends four packets to specified host. As a result utility show number of successfully delivered packets, number of lost packets and middle of time to deliver one packet in milliseconds.

Utility's example screen:

USER>d ^%ZICMP
MiniM ping utility.

Enter host name: karataev.nm.ru
Route to karataev.nm.ru packets ok: 4, failed: 0, time: 30ms.

Enter host name: karataev.nm.ru
Route to karataev.nm.ru packets ok: 4, failed: 0, time: 30ms.

Enter host name: karataev.nm.ru
Route to karataev.nm.ru packets ok: 3, failed: 1, time: 25ms.

Enter host name: karataev.nm.ru
Route to karataev.nm.ru packets ok: 4, failed: 0, time: 30ms.
Utility ends to work on entering empty string as a host name.

External zdll module zicmp.dll exports one function "ping", which accept one argument, host name. Function return value of -1 if packet does not delivered or middle time in milliseconds. Example:

s time=$zdll("call","zicmp.dll","ping","karataev.nm.ru")

Download setup-zicmp.exe (for x86-32) (exe, 0.32Mb)
Download setup-zicmp_x64.exe (for x64) (exe, 0.32Mb)

Eugene Karataev
support@minimdb.com

To add module send text description and zip archive to mail: support@minimdb.com


Copyright (C) 2017 Eugene Karataev
Emails: Info Tech Support