Searched defs:socket (Results 1 - 7 of 7) sorted by relevance

/PHP_5_6/ext/sockets/
H A Dsockets.c44 # include <sys/socket.h>
115 ZEND_ARG_INFO(0, socket)
119 ZEND_ARG_INFO(0, socket)
123 ZEND_ARG_INFO(0, socket)
127 ZEND_ARG_INFO(0, socket)
132 ZEND_ARG_INFO(0, socket)
136 ZEND_ARG_INFO(0, socket)
142 ZEND_ARG_INFO(0, socket)
148 ZEND_ARG_INFO(0, socket)
154 ZEND_ARG_INFO(0, socket)
2267 PHP_SOCKET socket; /* fd */ local
[all...]
/PHP_5_6/ext/mysql/
H A Dphp_mysql.c52 # include <sys/socket.h>
722 char *user=NULL, *passwd=NULL, *host_and_port=NULL, *socket=NULL, *tmp=NULL, *host=NULL; local
748 socket = MySG(default_socket);
831 socket=tmp;
834 socket = tmp;
887 if (mysql_real_connect(mysql->conn, host, user, passwd, NULL, port, socket, client_flags)==NULL)
889 if (mysqlnd_connect(mysql->conn, host, user, passwd, passwd_len, NULL, 0, port, socket, client_flags, MYSQLND_CLIENT_KNOWS_RSET_COPY_DATA TSRMLS_CC) == NULL)
935 if (mysql_real_connect(mysql->conn, host, user, passwd, NULL, port, socket, client_flags)==NULL)
937 if (mysqlnd_connect(mysql->conn, host, user, passwd, passwd_len, NULL, 0, port, socket, client_flags, MYSQLND_CLIENT_KNOWS_RSET_COPY_DATA TSRMLS_CC) == NULL)
1014 if (mysql_real_connect(mysql->conn, host, user, passwd, NULL, port, socket, client_flag
[all...]
/PHP_5_6/ext/mysqli/
H A Dmysqli_nonapi.c65 char *hostname = NULL, *username=NULL, *passwd=NULL, *dbname=NULL, *socket=NULL; local
89 hostname = username = dbname = passwd = socket = NULL;
93 &passwd, &passwd_len, &dbname, &dbname_len, &port, &socket, &socket_len) == FAILURE) {
111 &hostname, &hostname_len, &username, &username_len, &passwd, &passwd_len, &dbname, &dbname_len, &port, &socket, &socket_len,
128 if (!socket_len || !socket) {
129 socket = MyG(default_socket);
159 hash_len = spprintf(&hash_key, 0, "mysqli_%s_%s%ld%s%s%s", SAFE_STR(hostname), SAFE_STR(socket),
240 if (mysql_real_connect(mysql->mysql, hostname, username, passwd, dbname, port, socket, flags) == NULL)
243 port, socket, flags, MYSQLND_CLIENT_KNOWS_RSET_COPY_DATA TSRMLS_CC) == NULL)
307 /* {{{ proto object mysqli_connect([string hostname [,string username [,string passwd [,string dbname [,int port [,string socket]]]]]])
[all...]
/PHP_5_6/ext/standard/
H A Dstreamsfuncs.c51 Creates a pair of connected, indistinguishable socket streams */
176 Create a server socket bound to localaddress */
241 Accept a client connection from a server socket */
298 Returns either the locally bound or remote name for a socket stream */
326 Send data to a socket stream. If target_addr is specified it must be in dotted quad (or [ipv6]) format */
355 Receives data from a socket stream */
546 Retrieves list of registered socket transports */
1340 /* {{{ proto bool stream_set_blocking(resource socket, int mode)
1341 Set blocking/non-blocking mode on a socket or stream */
1371 zval *socket; local
[all...]
/PHP_5_6/main/
H A Dphp_network.h73 #include <sys/socket.h>
77 * since <sys/socket.h> defines them. */
276 php_socket_t socket; member in struct:_php_netstream_data_t
288 PHPAPI php_stream *_php_stream_sock_open_from_socket(php_socket_t socket, const char *persistent_id STREAMS_DC TSRMLS_DC );
306 #define php_stream_sock_open_from_socket(socket, persistent) _php_stream_sock_open_from_socket((socket), (persistent) STREAMS_CC TSRMLS_CC)
310 #define php_stream_sock_open_from_socket_rel(socket, persistent) _php_stream_sock_open_from_socket((socket), (persistent) STREAMS_REL_CC TSRMLS_CC)
H A Dnetwork.c44 #include <sys/socket.h>
66 #include <sys/socket.h>
202 s = socket(PF_INET6, SOCK_DGRAM, 0);
298 /* Connect to a socket using an interruptible connect with optional timeout.
300 * enable non-blocking mode on the socket.
415 * Returns the bound socket, or -1 on failure.
437 /* create a socket for this address */
438 sock = socket(sa->sa_family, socktype, 0);
699 /* Accept a client connection from a server socket,
758 * enable non-blocking mode on the socket
1033 _php_stream_sock_open_from_socket(php_socket_t socket, const char *persistent_id STREAMS_DC TSRMLS_DC) argument
[all...]
/PHP_5_6/sapi/phpdbg/
H A Dphpdbg.c37 # include <sys/socket.h>
809 static void phpdbg_remote_close(int socket, FILE *stream) { argument
810 if (socket >= 0) {
811 phpdbg_close_socket(socket);
820 static int phpdbg_remote_init(const char* address, unsigned short port, int server, int *socket, FILE **stream TSRMLS_DC) { argument
821 phpdbg_remote_close(*socket, *stream);
836 *socket = accept(server, (struct sockaddr *) &address, &size);
843 dup2(*socket, fileno(stdout));
844 dup2(*socket, fileno(stdin));
848 *stream = fdopen(*socket, "
996 int socket = -1; local
[all...]

Completed in 14 milliseconds