socket_addrinfo_bind

(PHP 7 >= 7.2.0)

socket_addrinfo_bindCreate and bind to a socket from a given addrinfo

说明

socket_addrinfo_bind ( resource $addr ) : resource

Create a Socket resource, and bind it to the provided AddrInfo resource. The return value of this function may be used with socket_listen().

参数

addr

Resource created from socket_addrinfo_lookup()().

返回值

Returns a Socket resource on success or NULL on failure.

参见

相关文章
php apd 函数 stops the interpreter and waits on a cr from the socketphp eio 函数 read from a file descriptor at given offsetphp imap 函数 create a mime message based on given envelope and body sectionsphp maxdb 函数 returns the number of warnings from the last query for the given linkphp postgresql 函数 submits a request to create a prepared statement with the given parameters and waits for completionphp postgresql 函数 sends a request to create a prepared statement with the given parameters without waiting for completionphp socket 函数 create and bind to a socket from a given addrinfophp socket 函数 create and connect to a socket from a given addrinfophp socket 函数 get information about addrinfophp socket 函数 queries the remote side of the given socket which may either result in host/port or in a unix filesystem path dependent on its typephp socket 函数 queries the local side of the given socket which may either result in host/port or in a unix filesystem path dependent on its typephp socket 函数 reads a maximum of length bytes from a socketphp socket 函数 receives data from a socket whether or not it is connection orientedphp socket 函数 runs the select system call on the given arrays of sockets with a specified timeoutphp ssdeep 函数 create a fuzzy hash from a filephp stream 函数 receives data from a socket connected or notphp stream 函数 create an internet or unix domain server socketphp svn 函数 returns a stream to access the contents of a file from a given version of the fsphp svn 函数 returns the length of a file from a given version of the fsphp sdo das xml 函数 to create sdo das xml object for a given schema file
关注编程学问公众号