Add stream_socket_sendto and stream_socket_recvfrom which work very much

like sendto() and recvfrom() syscalls.
This commit is contained in:
Wez Furlong 2003-11-29 21:46:50 +00:00
parent fe93c2ac09
commit 37f135ceef
10 changed files with 389 additions and 12 deletions

View file

@ -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);