Changeset 29258 in project


Ignore:
Timestamp:
06/27/13 11:11:35 (8 years ago)
Author:
mikele
Message:

minor editorial revision

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wiki/eggref/4/eping

    r29257 r29258  
    66eping is a Scheme implementation of the ICMP ping utility. Although it can be used like an average OS ping utility, eping is intended to be used programmatically (e.g. for gathering statistics, monitoring). It uses raw sockets thus a privileged account must be used.
    77
    8 <enscript highlight=scheme>
     8<enscript highlight=sh>
    99[procedure] (eping HOST #!key (mode 'probe)
    1010                              (count #f)
     
    6161(eping "call-cc.org" mode: 'stats)
    6262
    63 ==> #(5 0 133 134.2 136 0.92)
     63===> #(5 0 133 134.2 136 0.92)
    6464</enscript>
    6565
     
    8787In this mode eping returns a single character for each echo request:
    8888
    89 * [.] Echo reply received
    90 * [!] No response
    91 * [N] Network unreachable
    92 * [H] Host unreachable
    93 * [P] Protocol unreachable
    94 * [F] Packet too big and DF bit set
    95 * [A] Administratively filtered
    96 * [T] Time to live exceeded
    97 * [O] Network/Host unreachable for TOS
    98 * [U] Unreachable (generic error)
     89 [.] Echo reply received
     90 [!] No response
     91 [N] Network unreachable
     92 [H] Host unreachable
     93 [P] Protocol unreachable
     94 [F] Packet too big and DF bit set
     95 [A] Administratively filtered
     96 [T] Time to live exceeded
     97 [O] Network/Host unreachable for TOS
     98 [U] Unreachable (generic error)
    9999
    100100<enscript highlight=scheme>
Note: See TracChangeset for help on using the changeset viewer.