src/eric7/Documentation/Source/eric7.EricNetwork.EricNetworkUtilities.html

Sat, 26 Apr 2025 12:34:32 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sat, 26 Apr 2025 12:34:32 +0200
branch
eric7
changeset 11240
c48c615c04a3
parent 10479
856476537696
permissions
-rw-r--r--

MicroPython
- Added a configuration option to disable the support for the no longer produced Pimoroni Pico Wireless Pack.

<!DOCTYPE html>
<html><head>
<title>eric7.EricNetwork.EricNetworkUtilities</title>
<meta charset="UTF-8">
<link rel="stylesheet" href="styles.css">
</head>
<body>
<a NAME="top" ID="top"></a>
<h1>eric7.EricNetwork.EricNetworkUtilities</h1>
<p>
Package implementing some special network related objects and functions.
</p>

<h3>Global Attributes</h3>
<table>
<tr><td>None</td></tr>
</table>

<h3>Classes</h3>
<table>
<tr><td>None</td></tr>
</table>

<h3>Functions</h3>
<table>
<tr>
<td><a href="#isValidAddress">isValidAddress</a></td>
<td>Public function to check, if the given address is valid.</td>
</tr>
<tr>
<td><a href="#isValidIPv4Address">isValidIPv4Address</a></td>
<td>Public function to check, if the given address is a valid IPv4 address.</td>
</tr>
<tr>
<td><a href="#isValidIPv6Address">isValidIPv6Address</a></td>
<td>Public function to check, if the given address is a valid IPv6 address.</td>
</tr>
</table>

<hr />
<hr />
<a NAME="isValidAddress" ID="isValidAddress"></a>
<h2>isValidAddress</h2>
<b>isValidAddress</b>(<i>address</i>)
<p>
    Public function to check, if the given address is valid.
</p>

<dl>

<dt><i>address</i> (str)</dt>
<dd>
IPv4 or IPv6 address string
</dd>
</dl>
<dl>
<dt>Return:</dt>
<dd>
flag indicating validity
</dd>
</dl>
<dl>
<dt>Return Type:</dt>
<dd>
bool
</dd>
</dl>
<div align="right"><a href="#top">Up</a></div>
<hr />
<hr />
<a NAME="isValidIPv4Address" ID="isValidIPv4Address"></a>
<h2>isValidIPv4Address</h2>
<b>isValidIPv4Address</b>(<i>address</i>)
<p>
    Public function to check, if the given address is a valid IPv4 address.
</p>

<dl>

<dt><i>address</i> (str)</dt>
<dd>
IPv4 address string
</dd>
</dl>
<dl>
<dt>Return:</dt>
<dd>
flag indicating validity
</dd>
</dl>
<dl>
<dt>Return Type:</dt>
<dd>
bool
</dd>
</dl>
<div align="right"><a href="#top">Up</a></div>
<hr />
<hr />
<a NAME="isValidIPv6Address" ID="isValidIPv6Address"></a>
<h2>isValidIPv6Address</h2>
<b>isValidIPv6Address</b>(<i>address</i>)
<p>
    Public function to check, if the given address is a valid IPv6 address.
</p>

<dl>

<dt><i>address</i> (str)</dt>
<dd>
IPv6 address string
</dd>
</dl>
<dl>
<dt>Return:</dt>
<dd>
flag indicating validity
</dd>
</dl>
<dl>
<dt>Return Type:</dt>
<dd>
bool
</dd>
</dl>
<div align="right"><a href="#top">Up</a></div>
<hr />
</body></html>

eric ide

mercurial