PHP » GoLang |
login |
register |
about
|
socket_bind(PHP 4 >= 4.1.0, PHP 5, PHP 7) socket_bind — Binds 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
|
more
Recently updated
more
Most requested
more
Last requests
|