/
ColdC/Functions/
ColdC/Structure/
<head><title>ColdC: Function/Method Reference: bind_port()</title></head>

<body>

<h1 align=center><a href="/ColdC/">ColdC</a>: <a href="/ColdC/Functions/">Function/Method Reference</a>: bind_port()</h1>

<hr>

<p>
<font size=+1><i>INTEGER</i> <b>bind_port</b>(<i>INTEGER <b>port</b></i>)</font>

<p>This function binds a network port to the current object.  If successful,
the current object will receive connections on the port.  For more information
on networking see <a href="/ColdC/networking.html">Networking</a>.
If an error occurs either <code>~bind</code> or <code>~socket</code> will be
thrown.

<p><hr size=4><p align=center><i>Last Modified on Mar 2 1996</i>
<br><i>Copyright &copy; 1995, 1996, Brandon Gillespie</i>
</body>