|
1 <!DOCTYPE html> |
|
2 <html><head> |
|
3 <title>eric7.EricNetwork.EricNetworkUtilities</title> |
|
4 <meta charset="UTF-8"> |
|
5 <link rel="stylesheet" href="styles.css"> |
|
6 </head> |
|
7 <body> |
|
8 <a NAME="top" ID="top"></a> |
|
9 <h1>eric7.EricNetwork.EricNetworkUtilities</h1> |
|
10 |
|
11 <p> |
|
12 Package implementing some special network related objects and functions. |
|
13 </p> |
|
14 <h3>Global Attributes</h3> |
|
15 |
|
16 <table> |
|
17 <tr><td>None</td></tr> |
|
18 </table> |
|
19 <h3>Classes</h3> |
|
20 |
|
21 <table> |
|
22 <tr><td>None</td></tr> |
|
23 </table> |
|
24 <h3>Functions</h3> |
|
25 |
|
26 <table> |
|
27 |
|
28 <tr> |
|
29 <td><a href="#isValidAddress">isValidAddress</a></td> |
|
30 <td>Public function to check, if the given address is valid.</td> |
|
31 </tr> |
|
32 <tr> |
|
33 <td><a href="#isValidIPv4Address">isValidIPv4Address</a></td> |
|
34 <td>Public function to check, if the given address is a valid IPv4 address.</td> |
|
35 </tr> |
|
36 <tr> |
|
37 <td><a href="#isValidIPv6Address">isValidIPv6Address</a></td> |
|
38 <td>Public function to check, if the given address is a valid IPv6 address.</td> |
|
39 </tr> |
|
40 </table> |
|
41 <hr /> |
|
42 <hr /> |
|
43 <a NAME="isValidAddress" ID="isValidAddress"></a> |
|
44 <h2>isValidAddress</h2> |
|
45 <b>isValidAddress</b>(<i>address</i>) |
|
46 |
|
47 <p> |
|
48 Public function to check, if the given address is valid. |
|
49 </p> |
|
50 <dl> |
|
51 |
|
52 <dt><i>address</i> (str)</dt> |
|
53 <dd> |
|
54 IPv4 or IPv6 address string |
|
55 </dd> |
|
56 </dl> |
|
57 <dl> |
|
58 <dt>Return:</dt> |
|
59 <dd> |
|
60 flag indicating validity |
|
61 </dd> |
|
62 </dl> |
|
63 <dl> |
|
64 <dt>Return Type:</dt> |
|
65 <dd> |
|
66 bool |
|
67 </dd> |
|
68 </dl> |
|
69 <div align="right"><a href="#top">Up</a></div> |
|
70 <hr /> |
|
71 <hr /> |
|
72 <a NAME="isValidIPv4Address" ID="isValidIPv4Address"></a> |
|
73 <h2>isValidIPv4Address</h2> |
|
74 <b>isValidIPv4Address</b>(<i>address</i>) |
|
75 |
|
76 <p> |
|
77 Public function to check, if the given address is a valid IPv4 address. |
|
78 </p> |
|
79 <dl> |
|
80 |
|
81 <dt><i>address</i> (str)</dt> |
|
82 <dd> |
|
83 IPv4 address string |
|
84 </dd> |
|
85 </dl> |
|
86 <dl> |
|
87 <dt>Return:</dt> |
|
88 <dd> |
|
89 flag indicating validity |
|
90 </dd> |
|
91 </dl> |
|
92 <dl> |
|
93 <dt>Return Type:</dt> |
|
94 <dd> |
|
95 bool |
|
96 </dd> |
|
97 </dl> |
|
98 <div align="right"><a href="#top">Up</a></div> |
|
99 <hr /> |
|
100 <hr /> |
|
101 <a NAME="isValidIPv6Address" ID="isValidIPv6Address"></a> |
|
102 <h2>isValidIPv6Address</h2> |
|
103 <b>isValidIPv6Address</b>(<i>address</i>) |
|
104 |
|
105 <p> |
|
106 Public function to check, if the given address is a valid IPv6 address. |
|
107 </p> |
|
108 <dl> |
|
109 |
|
110 <dt><i>address</i> (str)</dt> |
|
111 <dd> |
|
112 IPv6 address string |
|
113 </dd> |
|
114 </dl> |
|
115 <dl> |
|
116 <dt>Return:</dt> |
|
117 <dd> |
|
118 flag indicating validity |
|
119 </dd> |
|
120 </dl> |
|
121 <dl> |
|
122 <dt>Return Type:</dt> |
|
123 <dd> |
|
124 bool |
|
125 </dd> |
|
126 </dl> |
|
127 <div align="right"><a href="#top">Up</a></div> |
|
128 <hr /> |
|
129 </body></html> |