Searched defs:sin (Results 1 - 5 of 5) sorted by relevance

/PHP_5_5/ext/sockets/
H A Dsockaddr_conv.c85 int php_set_inet_addr(struct sockaddr_in *sin, char *string, php_socket *php_sock TSRMLS_DC) /* {{{ */ argument
91 sin->sin_addr.s_addr = tmp.s_addr;
106 memcpy(&(sin->sin_addr.s_addr), host_entry->h_addr_list[0], host_entry->h_length);
H A Dsockets.c1183 struct sockaddr_in *sin; local
1221 sin = (struct sockaddr_in *) sa;
1224 addr_string = inet_ntoa(sin->sin_addr);
1232 ZVAL_LONG(port, htons(sin->sin_port));
1260 struct sockaddr_in *sin; local
1299 sin = (struct sockaddr_in *) sa;
1302 addr_string = inet_ntoa(sin->sin_addr);
1310 ZVAL_LONG(arg3, htons(sin->sin_port));
1415 struct sockaddr_in sin = {0}; local
1422 sin
1642 struct sockaddr_in sin; local
1760 struct sockaddr_in sin; local
[all...]
/PHP_5_5/ext/standard/
H A Dphp_math.h32 PHP_FUNCTION(sin); variable
/PHP_5_5/main/
H A Dnetwork.c947 struct sockaddr_in *sin = (struct sockaddr_in *) addr; local
948 sin->sin_family = AF_INET;
949 sin->sin_port = htons(port);
950 sin->sin_addr.s_addr = htonl(INADDR_ANY);
/PHP_5_5/ext/ftp/
H A Dftp.c709 struct sockaddr_in *sin; local
780 sin = (struct sockaddr_in *) sa;
781 sin->sin_family = AF_INET;
782 sin->sin_addr = ipbox.ia[0];
783 sin->sin_port = ipbox.s[2];

Completed in 10 milliseconds