|
socket_bindBinds a name to a socket Description
bool socket_bind
( resource
$socket
, string $address
[, int $port = 0
] )
Binds the name given in Parameters
Return Values
Returns The error code can be retrieved with socket_last_error. This code may be passed to socket_strerror to get a textual explanation of the error. Examples
Example #1 Using socket_bind to set the source address
<?php Notes
See Also
|