| 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>synaip</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 synaip</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>Classes, Interfaces, Objects and Records</td><td><a class="section" href="#@FuncsProcs">Functions and Procedures</a></td><td><a class="section" href="#@Types">Types</a></td><td>Constants</td><td>Variables</td></tr></table>
|
|---|
| 14 | <a name="@Description"></a><h2 class="description">Description</h2>
|
|---|
| 15 | <p>
|
|---|
| 16 | IP adress support procedures and functions</p>
|
|---|
| 17 | <a name="@Uses"></a><h2 class="uses">uses</h2>
|
|---|
| 18 | <ul class="useslist"><li>SysUtils</li><li><a href="synautil.html">SynaUtil</a></li></ul><h2 class="overview">Overview</h2>
|
|---|
| 19 | <a name="@FuncsProcs"></a><h3 class="summary">Functions and Procedures</h3>
|
|---|
| 20 | <table class="summary">
|
|---|
| 21 | <tr class="list">
|
|---|
| 22 | <td class="itemcode"><code>function <b><a href="synaip.html#IsIP">IsIP</a></b>(const Value: string): Boolean;</code></td>
|
|---|
| 23 | </tr>
|
|---|
| 24 | <tr class="list2">
|
|---|
| 25 | <td class="itemcode"><code>function <b><a href="synaip.html#IsIP6">IsIP6</a></b>(const Value: string): Boolean;</code></td>
|
|---|
| 26 | </tr>
|
|---|
| 27 | <tr class="list">
|
|---|
| 28 | <td class="itemcode"><code>function <b><a href="synaip.html#IPToID">IPToID</a></b>(Host: string): Ansistring;</code></td>
|
|---|
| 29 | </tr>
|
|---|
| 30 | <tr class="list2">
|
|---|
| 31 | <td class="itemcode"><code>function <b><a href="synaip.html#StrToIp6">StrToIp6</a></b>(value: string): <a href="synaip.html#TIp6Bytes">TIp6Bytes</a>;</code></td>
|
|---|
| 32 | </tr>
|
|---|
| 33 | <tr class="list">
|
|---|
| 34 | <td class="itemcode"><code>function <b><a href="synaip.html#Ip6ToStr">Ip6ToStr</a></b>(value: <a href="synaip.html#TIp6Bytes">TIp6Bytes</a>): string;</code></td>
|
|---|
| 35 | </tr>
|
|---|
| 36 | <tr class="list2">
|
|---|
| 37 | <td class="itemcode"><code>function <b><a href="synaip.html#StrToIp">StrToIp</a></b>(value: string): integer;</code></td>
|
|---|
| 38 | </tr>
|
|---|
| 39 | <tr class="list">
|
|---|
| 40 | <td class="itemcode"><code>function <b><a href="synaip.html#IpToStr">IpToStr</a></b>(value: integer): string;</code></td>
|
|---|
| 41 | </tr>
|
|---|
| 42 | <tr class="list2">
|
|---|
| 43 | <td class="itemcode"><code>function <b><a href="synaip.html#ReverseIP">ReverseIP</a></b>(Value: AnsiString): AnsiString;</code></td>
|
|---|
| 44 | </tr>
|
|---|
| 45 | <tr class="list">
|
|---|
| 46 | <td class="itemcode"><code>function <b><a href="synaip.html#ReverseIP6">ReverseIP6</a></b>(Value: AnsiString): AnsiString;</code></td>
|
|---|
| 47 | </tr>
|
|---|
| 48 | <tr class="list2">
|
|---|
| 49 | <td class="itemcode"><code>function <b><a href="synaip.html#ExpandIP6">ExpandIP6</a></b>(Value: AnsiString): AnsiString;</code></td>
|
|---|
| 50 | </tr>
|
|---|
| 51 | </table>
|
|---|
| 52 | <a name="@Types"></a><h3 class="summary">Types</h3>
|
|---|
| 53 | <table class="summary">
|
|---|
| 54 | <tr class="list">
|
|---|
| 55 | <td class="itemcode"><code><b><a href="synaip.html#TIp6Bytes">TIp6Bytes</a></b> = array [0..15] of Byte;</code></td>
|
|---|
| 56 | </tr>
|
|---|
| 57 | <tr class="list2">
|
|---|
| 58 | <td class="itemcode"><code><b><a href="synaip.html#TIp6Words">TIp6Words</a></b> = array [0..7] of Word;</code></td>
|
|---|
| 59 | </tr>
|
|---|
| 60 | </table>
|
|---|
| 61 | <h2 class="description">Description</h2>
|
|---|
| 62 | <h3 class="detail">Functions and Procedures</h3>
|
|---|
| 63 | <table class="detail">
|
|---|
| 64 | <tr class="list">
|
|---|
| 65 | <td class="itemcode"><a name="IsIP"></a><code>function <b>IsIP</b>(const Value: string): Boolean;</code></td>
|
|---|
| 66 | </tr>
|
|---|
| 67 | </table>
|
|---|
| 68 | <p>
|
|---|
| 69 | Returns <code>True</code>, if "Value" is a valid IPv4 address. Cannot be a symbolic Name!</p>
|
|---|
| 70 | <table class="detail">
|
|---|
| 71 | <tr class="list">
|
|---|
| 72 | <td class="itemcode"><a name="IsIP6"></a><code>function <b>IsIP6</b>(const Value: string): Boolean;</code></td>
|
|---|
| 73 | </tr>
|
|---|
| 74 | </table>
|
|---|
| 75 | <p>
|
|---|
| 76 | Returns <code>True</code>, if "Value" is a valid IPv6 address. Cannot be a symbolic Name!</p>
|
|---|
| 77 | <table class="detail">
|
|---|
| 78 | <tr class="list">
|
|---|
| 79 | <td class="itemcode"><a name="IPToID"></a><code>function <b>IPToID</b>(Host: string): Ansistring;</code></td>
|
|---|
| 80 | </tr>
|
|---|
| 81 | </table>
|
|---|
| 82 | <p>
|
|---|
| 83 | Returns a string with the "Host" ip address converted to binary form.</p>
|
|---|
| 84 | <table class="detail">
|
|---|
| 85 | <tr class="list">
|
|---|
| 86 | <td class="itemcode"><a name="StrToIp6"></a><code>function <b>StrToIp6</b>(value: string): <a href="synaip.html#TIp6Bytes">TIp6Bytes</a>;</code></td>
|
|---|
| 87 | </tr>
|
|---|
| 88 | </table>
|
|---|
| 89 | <p>
|
|---|
| 90 | Convert IPv6 address from their string form to binary byte array.</p>
|
|---|
| 91 | <table class="detail">
|
|---|
| 92 | <tr class="list">
|
|---|
| 93 | <td class="itemcode"><a name="Ip6ToStr"></a><code>function <b>Ip6ToStr</b>(value: <a href="synaip.html#TIp6Bytes">TIp6Bytes</a>): string;</code></td>
|
|---|
| 94 | </tr>
|
|---|
| 95 | </table>
|
|---|
| 96 | <p>
|
|---|
| 97 | Convert IPv6 address from binary byte array to string form.</p>
|
|---|
| 98 | <table class="detail">
|
|---|
| 99 | <tr class="list">
|
|---|
| 100 | <td class="itemcode"><a name="StrToIp"></a><code>function <b>StrToIp</b>(value: string): integer;</code></td>
|
|---|
| 101 | </tr>
|
|---|
| 102 | </table>
|
|---|
| 103 | <p>
|
|---|
| 104 | Convert IPv4 address from their string form to binary.</p>
|
|---|
| 105 | <table class="detail">
|
|---|
| 106 | <tr class="list">
|
|---|
| 107 | <td class="itemcode"><a name="IpToStr"></a><code>function <b>IpToStr</b>(value: integer): string;</code></td>
|
|---|
| 108 | </tr>
|
|---|
| 109 | </table>
|
|---|
| 110 | <p>
|
|---|
| 111 | Convert IPv4 address from binary to string form.</p>
|
|---|
| 112 | <table class="detail">
|
|---|
| 113 | <tr class="list">
|
|---|
| 114 | <td class="itemcode"><a name="ReverseIP"></a><code>function <b>ReverseIP</b>(Value: AnsiString): AnsiString;</code></td>
|
|---|
| 115 | </tr>
|
|---|
| 116 | </table>
|
|---|
| 117 | <p>
|
|---|
| 118 | Convert IPv4 address to reverse form.</p>
|
|---|
| 119 | <table class="detail">
|
|---|
| 120 | <tr class="list">
|
|---|
| 121 | <td class="itemcode"><a name="ReverseIP6"></a><code>function <b>ReverseIP6</b>(Value: AnsiString): AnsiString;</code></td>
|
|---|
| 122 | </tr>
|
|---|
| 123 | </table>
|
|---|
| 124 | <p>
|
|---|
| 125 | Convert IPv6 address to reverse form.</p>
|
|---|
| 126 | <table class="detail">
|
|---|
| 127 | <tr class="list">
|
|---|
| 128 | <td class="itemcode"><a name="ExpandIP6"></a><code>function <b>ExpandIP6</b>(Value: AnsiString): AnsiString;</code></td>
|
|---|
| 129 | </tr>
|
|---|
| 130 | </table>
|
|---|
| 131 | <p>
|
|---|
| 132 | Expand short form of IPv6 address to long form.</p>
|
|---|
| 133 | <h3 class="detail">Types</h3>
|
|---|
| 134 | <table class="detail">
|
|---|
| 135 | <tr class="list">
|
|---|
| 136 | <td class="itemcode"><a name="TIp6Bytes"></a><code><b>TIp6Bytes</b> = array [0..15] of Byte;</code></td>
|
|---|
| 137 | </tr>
|
|---|
| 138 | </table>
|
|---|
| 139 | <p>
|
|---|
| 140 | binary form of IPv6 adress (for string conversion routines)</p>
|
|---|
| 141 | <table class="detail">
|
|---|
| 142 | <tr class="list">
|
|---|
| 143 | <td class="itemcode"><a name="TIp6Words"></a><code><b>TIp6Words</b> = array [0..7] of Word;</code></td>
|
|---|
| 144 | </tr>
|
|---|
| 145 | </table>
|
|---|
| 146 | <p>
|
|---|
| 147 | binary form of IPv6 adress (for string conversion routines)</p>
|
|---|
| 148 | <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:52</em>
|
|---|
| 149 | </span>
|
|---|
| 150 | </body></html>
|
|---|