mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Add stream_socket_sendto and stream_socket_recvfrom which work very much
like sendto() and recvfrom() syscalls.
This commit is contained in:
parent
fe93c2ac09
commit
37f135ceef
10 changed files with 389 additions and 12 deletions
|
@ -21,11 +21,14 @@
|
|||
/* Flags for stream_socket_client */
|
||||
#define PHP_STREAM_CLIENT_PERSISTENT 1
|
||||
#define PHP_STREAM_CLIENT_ASYNC_CONNECT 2
|
||||
#define PHP_STREAM_CLIENT_CONNECT 4
|
||||
|
||||
PHP_FUNCTION(stream_socket_client);
|
||||
PHP_FUNCTION(stream_socket_server);
|
||||
PHP_FUNCTION(stream_socket_accept);
|
||||
PHP_FUNCTION(stream_socket_get_name);
|
||||
PHP_FUNCTION(stream_socket_recvfrom);
|
||||
PHP_FUNCTION(stream_socket_sendto);
|
||||
|
||||
PHP_FUNCTION(stream_copy_to_stream);
|
||||
PHP_FUNCTION(stream_get_contents);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue