source: trunk/Packages/synapse/docs/help/pingsend.html

Last change on this file was 2, checked in by chronos, 12 years ago
  • Přidáno: Základní kostra projektu.
  • Přidáno: Knihovna synapse.
File size: 6.3 KB
Line 
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd">
2<html>
3<head>
4<meta name="GENERATOR" content="PasDoc 0.9.0">
5<meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
6<title>pingsend</title>
7<link rel="StyleSheet" type="text/css" href="pasdoc.css">
8</head>
9<body bgcolor="#ffffff" text="#000000" link="#0000ff" vlink="#800080" alink="#FF0000">
10<h1 class="unit">Unit pingsend</h1>
11<table class="sections">
12<tr>
13<td><a class="section" href="#@Description">Description</a></td><td><a class="section" href="#@Uses">uses</a></td><td><a class="section" href="#@Classes">Classes, Interfaces, Objects and Records</a></td><td><a class="section" href="#@FuncsProcs">Functions and Procedures</a></td><td><a class="section" href="#@Types">Types</a></td><td><a class="section" href="#@Constants">Constants</a></td><td>Variables</td></tr></table>
14<a name="@Description"></a><h2 class="description">Description</h2>
15&nbsp;<a name="@Uses"></a><h2 class="uses">uses</h2>
16<ul class="useslist"><li>SysUtils</li><li>synsock</li><li><a href="blcksock.html">blcksock</a></li><li><a href="synautil.html">synautil</a></li><li><a href="synafpc.html">synafpc</a></li><li><a href="synaip.html">synaip</a></li><li>windows</li></ul><h2 class="overview">Overview</h2>
17<a name="@Classes"></a><h3 class="cio">Classes, Interfaces, Objects and Records</h3>
18<table class="classestable">
19<tr class="listheader">
20<th class="itemname">Name</th>
21<th class="itemdesc">Description</th>
22</tr>
23<tr class="list">
24<td class="itemname">Class&nbsp;<a class="bold" href="pingsend.TPINGSend.html"><code>TPINGSend</code></a></td>
25<td class="itemdesc">Implementation of ICMP PING and ICMPv6 PING.</td>
26</tr>
27</table>
28<a name="@FuncsProcs"></a><h3 class="summary">Functions and Procedures</h3>
29<table class="summary">
30<tr class="list">
31<td class="itemcode"><code>function <b><a href="pingsend.html#PingHost">PingHost</a></b>(const Host: string): Integer;</code></td>
32</tr>
33<tr class="list2">
34<td class="itemcode"><code>function <b><a href="pingsend.html#TraceRouteHost">TraceRouteHost</a></b>(const Host: string): string;</code></td>
35</tr>
36</table>
37<a name="@Types"></a><h3 class="summary">Types</h3>
38<table class="summary">
39<tr class="list">
40<td class="itemcode"><code><b><a href="pingsend.html#TICMPError">TICMPError</a></b> = (...);</code></td>
41</tr>
42</table>
43<a name="@Constants"></a><h3 class="summary">Constants</h3>
44<table class="summary">
45<tr class="list">
46<td class="itemcode"><code><b><a href="pingsend.html#ICMP_ECHO">ICMP_ECHO</a></b> = 8;</code></td>
47</tr>
48<tr class="list2">
49<td class="itemcode"><code><b><a href="pingsend.html#ICMP_ECHOREPLY">ICMP_ECHOREPLY</a></b> = 0;</code></td>
50</tr>
51<tr class="list">
52<td class="itemcode"><code><b><a href="pingsend.html#ICMP_UNREACH">ICMP_UNREACH</a></b> = 3;</code></td>
53</tr>
54<tr class="list2">
55<td class="itemcode"><code><b><a href="pingsend.html#ICMP_TIME_EXCEEDED">ICMP_TIME_EXCEEDED</a></b> = 11;</code></td>
56</tr>
57<tr class="list">
58<td class="itemcode"><code><b><a href="pingsend.html#ICMP6_ECHO">ICMP6_ECHO</a></b> = 128;</code></td>
59</tr>
60<tr class="list2">
61<td class="itemcode"><code><b><a href="pingsend.html#ICMP6_ECHOREPLY">ICMP6_ECHOREPLY</a></b> = 129;</code></td>
62</tr>
63<tr class="list">
64<td class="itemcode"><code><b><a href="pingsend.html#ICMP6_UNREACH">ICMP6_UNREACH</a></b> = 1;</code></td>
65</tr>
66<tr class="list2">
67<td class="itemcode"><code><b><a href="pingsend.html#ICMP6_TIME_EXCEEDED">ICMP6_TIME_EXCEEDED</a></b> = 3;</code></td>
68</tr>
69</table>
70<h2 class="description">Description</h2>
71<h3 class="detail">Functions and Procedures</h3>
72<table class="detail">
73<tr class="list">
74<td class="itemcode"><a name="PingHost"></a><code>function <b>PingHost</b>(const Host: string): Integer;</code></td>
75</tr>
76</table>
77<p>
78A very useful function and example of its use would be found in the TPINGSend object. Use it to ping to any host. If successful, returns the ping time in milliseconds. Returns -1 if an error occurred.</p>
79<table class="detail">
80<tr class="list">
81<td class="itemcode"><a name="TraceRouteHost"></a><code>function <b>TraceRouteHost</b>(const Host: string): string;</code></td>
82</tr>
83</table>
84<p>
85A very useful function and example of its use would be found in the TPINGSend object. Use it to TraceRoute to any host.</p>
86<h3 class="detail">Types</h3>
87<table class="detail">
88<tr class="list">
89<td class="itemcode"><a name="TICMPError"></a><code><b>TICMPError</b> = (...);</code></td>
90</tr>
91</table>
92<p>
93List of possible ICMP reply packet types.</p>
94<ul>
95<li>
96IE_NoError: </li>
97<li>
98IE_Other: </li>
99<li>
100IE_TTLExceed: </li>
101<li>
102IE_UnreachOther: </li>
103<li>
104IE_UnreachRoute: </li>
105<li>
106IE_UnreachAdmin: </li>
107<li>
108IE_UnreachAddr: </li>
109<li>
110IE_UnreachPort: </li>
111</ul>
112<h3 class="detail">Constants</h3>
113<table class="detail">
114<tr class="list">
115<td class="itemcode"><a name="ICMP_ECHO"></a><code><b>ICMP_ECHO</b> = 8;</code></td>
116</tr>
117</table>
118&nbsp;<table class="detail">
119<tr class="list">
120<td class="itemcode"><a name="ICMP_ECHOREPLY"></a><code><b>ICMP_ECHOREPLY</b> = 0;</code></td>
121</tr>
122</table>
123&nbsp;<table class="detail">
124<tr class="list">
125<td class="itemcode"><a name="ICMP_UNREACH"></a><code><b>ICMP_UNREACH</b> = 3;</code></td>
126</tr>
127</table>
128&nbsp;<table class="detail">
129<tr class="list">
130<td class="itemcode"><a name="ICMP_TIME_EXCEEDED"></a><code><b>ICMP_TIME_EXCEEDED</b> = 11;</code></td>
131</tr>
132</table>
133&nbsp;<table class="detail">
134<tr class="list">
135<td class="itemcode"><a name="ICMP6_ECHO"></a><code><b>ICMP6_ECHO</b> = 128;</code></td>
136</tr>
137</table>
138&nbsp;<table class="detail">
139<tr class="list">
140<td class="itemcode"><a name="ICMP6_ECHOREPLY"></a><code><b>ICMP6_ECHOREPLY</b> = 129;</code></td>
141</tr>
142</table>
143&nbsp;<table class="detail">
144<tr class="list">
145<td class="itemcode"><a name="ICMP6_UNREACH"></a><code><b>ICMP6_UNREACH</b> = 1;</code></td>
146</tr>
147</table>
148&nbsp;<table class="detail">
149<tr class="list">
150<td class="itemcode"><a name="ICMP6_TIME_EXCEEDED"></a><code><b>ICMP6_TIME_EXCEEDED</b> = 3;</code></td>
151</tr>
152</table>
153&nbsp;<hr noshade size="1"><span class="appinfo"><em>Generated by <a target="_parent" href="http://pasdoc.sourceforge.net/">PasDoc 0.9.0</a> on 2012-04-23 21:38:51</em>
154</span>
155</body></html>
Note: See TracBrowser for help on using the repository browser.