array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'fr', ), 'this' => array ( 0 => 'function.socket-addrinfo-bind.php', 1 => 'socket_addrinfo_bind', ), 'up' => array ( 0 => 'ref.sockets.php', 1 => 'Fonctions sur les sockets', ), 'prev' => array ( 0 => 'function.socket-accept.php', 1 => 'socket_accept', ), 'next' => array ( 0 => 'function.socket-addrinfo-connect.php', 1 => 'socket_addrinfo_connect', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/sockets/functions/socket-addrinfo-bind.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PHP 7 >= 7.2.0, PHP 8)
socket_addrinfo_bind — Create and bind to a socket from a given addrinfo
Create a Socket instance, and bind it to the provided AddressInfo. The return value of this function may be used with socket_listen().
address
AddressInfo instance created from socket_addrinfo_lookup().
Version | Description |
---|---|
8.0.0 | On success, this function returns a Socket instance now; previously, a resource was returned. |
8.0.0 |
address est désormais une instance de AddressInfo ;
auparavant, c'était une resource.
|