|
|
 |
 |
| BindSocket |
| |
Bind a TCP/IP socket to an IP address and/or a port |
| |
| Library |
 |
wh::internet/tcpip.whlib |
| |
| Syntax |
 |
PUBLIC BOOLEAN FUNCTION BindSocket (INTEGER connectionid,STRING host,INTEGER port) |
| |
| Parameters |
 |
| connectionid |
 |
Connection ID to bind |
 |
| host |
 |
IP address or hostname to bind to, or empty for bind-anywhere |
 |
| port |
 |
Port to bind to, or 0 to bind to at any available port |
 |
|
| |
| Returns |
 |
True on a succesful bind, false on failure |
| |
|
|
|
|