<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<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>
<body>
<table class="none" width="100%" cellpadding="0" cellspacing="0" border="0">
<tr><td align="left">
<font size="-1">
<a href="../../../help%3Fen"><img class="flag" alt="Home" border="0" src="../../../img/lang/en.png" align="center"></a>&nbsp;&nbsp;
<a href="../gb.net%3Fen">Up</a>&nbsp;&nbsp;
<a href="dnsclient/_new%3Fen">Previous</a>&nbsp;&nbsp;
<a href="net/accepting%3Fen">Next</a>&nbsp;&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 color="white" 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 href="net/accepting%3Fen">Accepting</a></b>&nbsp;&nbsp; <b><a href="net/active%3Fen">Active</a></b>&nbsp;&nbsp; <b><a href="net/cannotbindsocket%3Fen">CannotBindSocket</a></b>&nbsp;&nbsp; <b><a href="net/cannotcreatesocket%3Fen">CannotCreateSocket</a></b>&nbsp;&nbsp; <b><a href="net/cannotlisten%3Fen">CannotListen</a></b>&nbsp;&nbsp; <b><a href="net/cannotread%3Fen">CannotRead</a></b>&nbsp;&nbsp; <b><a href="net/cannotwrite%3Fen">CannotWrite</a></b>&nbsp;&nbsp; <b><a href="net/connected%3Fen">Connected</a></b>&nbsp;&nbsp; <b><a href="net/connecting%3Fen">Connecting</a></b>&nbsp;&nbsp; <b><a href="net/connectionrefused%3Fen">ConnectionRefused</a></b>&nbsp;&nbsp; <b><a href="net/hostnotfound%3Fen">HostNotFound</a></b>&nbsp;&nbsp; <b><i>/comp/gb.net/net/ipv4</i></b>&nbsp;&nbsp; <b><a href="net/inactive%3Fen">Inactive</a></b>&nbsp;&nbsp; <b><a href="net/internet%3Fen">Internet</a></b>&nbsp;&nbsp; <b><a href="net/local%3Fen">Local</a></b>&nbsp;&nbsp; <b><a href="net/pending%3Fen">Pending</a></b>&nbsp;&nbsp; <b><i>/comp/gb.net/net/receivingdata</i></b>&nbsp;&nbsp; <b><a href="net/searching%3Fen">Searching</a></b>&nbsp;&nbsp; <b><a href="net/unix%3Fen">Unix</a></b>&nbsp;&nbsp; </td><td>&nbsp;</td>
</tr>
</table>
</div>

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

