<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="../../../style.css">
<title>
Gambas Documentation - Net
 (gb.net)</title>
</head>
<table class="none" width="100%" cellpadding="0" cellspacing="0" border="0">
<tr><td align="left">
<font size="-1">
<a href="../../../help+en"><img class="flag" alt="Home" border="0" src="../../../img/lang/en.png" align="center"></a>&nbsp;
<a href="../gb.net+en">Up</a>&nbsp;
<a href="dnsclient/_new+en">Previous</a>&nbsp;
<a href="net/accepting+en">Next</a>&nbsp;
</td></tr></table>
<div class="notab">
<h1>
Net
 (gb.net)</h1>
This class provides constant definitions used by the rest of the classes in this component.
<p>
Most of them are linked with the Status property of Net classes. In that case:
<p>
<ul>
<li>Error values are always negative values.
<li>An inactive value is always zero.
<li>Activity is reflected with positive values.
<p>
</ul>

So you can evaluate if there was an error when Status property is negative.
<p>
<div class="black"><font size="-2"><b>Symbols</b></font></div>
<div class="border">
This class is static.<br>
<hr><table class="none" cellspacing="0" cellpadding="0">
<tr>
<td align=left><b>Static&nbsp;methods</b></td><td width="32">&nbsp;</td>
<td align=left><b>Constants</b></td><td width="32">&nbsp;</td>
</tr>
<tr valign=top>
<td>
<b><i>/comp/gb.net/net/format</i></b>&nbsp;&nbsp; </td><td>&nbsp;</td>
<td>
<b><a class="none" href="net/accepting+en">Accepting</a></b>&nbsp;&nbsp; <b><a class="none" href="net/active+en">Active</a></b>&nbsp;&nbsp; <b><a class="none" href="net/cannotbindsocket+en">CannotBindSocket</a></b>&nbsp;&nbsp; <b><a class="none" href="net/cannotcreatesocket+en">CannotCreateSocket</a></b>&nbsp;&nbsp; <b><a class="none" href="net/cannotlisten+en">CannotListen</a></b>&nbsp;&nbsp; <b><a class="none" href="net/cannotread+en">CannotRead</a></b>&nbsp;&nbsp; <b><a class="none" href="net/cannotwrite+en">CannotWrite</a></b>&nbsp;&nbsp; <b><a class="none" href="net/connected+en">Connected</a></b>&nbsp;&nbsp; <b><a class="none" href="net/connecting+en">Connecting</a></b>&nbsp;&nbsp; <b><a class="none" href="net/connectionrefused+en">ConnectionRefused</a></b>&nbsp;&nbsp; <b><a class="none" href="net/hostnotfound+en">HostNotFound</a></b>&nbsp;&nbsp; <b><i>/comp/gb.net/net/ipv4</i></b>&nbsp;&nbsp; <b><a class="none" href="net/inactive+en">Inactive</a></b>&nbsp;&nbsp; <b><a class="none" href="net/internet+en">Internet</a></b>&nbsp;&nbsp; <b><a class="none" href="net/local+en">Local</a></b>&nbsp;&nbsp; <b><a class="none" href="net/pending+en">Pending</a></b>&nbsp;&nbsp; <b><i>/comp/gb.net/net/receivingdata</i></b>&nbsp;&nbsp; <b><a class="none" href="net/searching+en">Searching</a></b>&nbsp;&nbsp; <b><a class="none" href="net/unix+en">Unix</a></b>&nbsp;&nbsp; </td><td>&nbsp;</td>
</tr>
</table>
</div>

</div>
</body>
</html>

