Sophie

Sophie

distrib > Mageia > 1 > i586 > by-pkgid > c87dfbd6f7f653536d7b07ed7038c9d8 > files > 2473

clanlib0.8-docs-0.8.1-6.mga1.i586.rpm


<!-- clanlib header begin -->
<HTML>
<HEAD>
<TITLE>CL_NetComputer - ClanLib Game SDK</TITLE>
<STYLE TYPE="text/css"><!--
HTML BODY
{
	font-family: verdana, helvetica, sans-serif;
	font-size: 12px;
}
H1 { font-size: 22px; }
H2 { font-size: 18px; }
H3 { font-size: 16px; }
H4 { font-size: 14px; }
P { font-size: 12px; }
LI { font-size: 12px; }
--></STYLE>
</HEAD>

<body bgcolor=white text=black link=blue vlink=#800080>

<center>
<img src="http://clanlib.org/gfx/clanlib.png">
</center>
<!-- clanlib header end -->

<center>
<p>
<a href="http://clanlib.org/docs.html">Home</a> |
<a href="classes.html">All Classes</a> |
<a href="modules.html">Grouped Classes</a> |
<a href="index.html">Index</a> |
<a href="search.html">Search</a>
</p>
</center>
<h1>Class CL_NetComputer</h1>
<p>  Class representing a computer in a network game. <a href="#description">More...</a></p>
<p>Derived from:
<i>none</i>
<br>
Derived by:
<i>none</i>
<br>Group: Network (NetSessions)</p>
<p>
#include &lt;ClanLib/network.h&gt;
<p>
<table border=0 width=100%>
</table>
<p><b>Construction:</b></p>
<table border=0 width=100%>
<tr><td width=30% valign=top><p><a href="CL_NetComputer__CL_NetComputer.html">CL_NetComputer</a></p></td><td valign=top><p>  Creates a netcomputer object.</p></td></tr></table>
<p><b>Attributes:</b></p>
<table border=0 width=100%>
<tr><td width=30% valign=top><p><a href="CL_NetComputer__get_address.html">get_address</a></p></td><td valign=top><p>  Returns the IP address (in network byte order) of the computer.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_NetComputer__get_session.html">get_session</a></p></td><td valign=top><p>  Returns the netsession that the computer is attached to.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_NetComputer__is_disconnected.html">is_disconnected</a></p></td><td valign=top><p>  Returns true if computer is disconnected.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_NetComputer__get_disconnect_reason.html">get_disconnect_reason</a></p></td><td valign=top><p>  Returns the disconnect reason.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_NetComputer__operator == .html">operator == </a></p></td><td valign=top><p>  Returns true if objects are the same.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_NetComputer__operator < .html">operator < </a></p></td><td valign=top><p>  Returns true if the other netcomputer is less.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_NetComputer__operator > .html">operator > </a></p></td><td valign=top><p>  Returns true if the other netcomputer is greater.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_NetComputer__get_thread_handle.html">get_thread_handle</a></p></td><td valign=top><p>  Thread handle for this netcomputer (used for NetComputers' differentiation)</p></td></tr></table>
<p><b>Operations:</b></p>
<table border=0 width=100%>
<tr><td width=30% valign=top><p><a href="CL_NetComputer__disconnect.html">disconnect</a></p></td><td valign=top><p>  Disconnects the computer from server.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_NetComputer__send.html">send</a></p></td><td valign=top><p>  Send packet to the specified channel.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_NetComputer__operator = .html">operator = </a></p></td><td valign=top><p>  Copy Operator.</p></td></tr></table>
<p><b>Implementation:</b></p>
<table border=0 width=100%>
<tr><td width=30% valign=top><p><a href="CL_NetComputer__impl.html">impl</a></p></td><td valign=top><p></p></td></tr></table>
<a name="#description"><p><b>Detailed description:</b></p>
  !group=Network/NetSessions!
  !header=network.h!


<!-- clanlib footer begin -->

<center><br><br><font color="#a0a0a0">
Questions or comments, write to the <a href="http://clanlib.org/contact.html">ClanLib mailing list</a>.
</font></center>

</body>
</html>
<!-- clanlib footer end -->