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

/PHP_5_4/win32/
H A Dinet.c14 struct sockaddr_in *sin = (struct sockaddr_in *)&sa; local
33 memcpy (dst, &sin->sin_addr, sizeof (struct in_addr));
51 struct sockaddr_in *sin = (struct sockaddr_in *)&sa; local
58 sin->sin_family = af;
59 memcpy (&sin->sin_addr, src, sizeof (struct in_addr));
/PHP_5_4/ext/sockets/
H A Dsockets.c677 static int php_set_inet_addr(struct sockaddr_in *sin, char *string, php_socket *php_sock TSRMLS_DC) /* {{{ */ argument
683 sin->sin_addr.s_addr = tmp.s_addr;
698 memcpy(&(sin->sin_addr.s_addr), host_entry->h_addr_list[0], host_entry->h_length);
1368 struct sockaddr_in *sin; local
1406 sin = (struct sockaddr_in *) sa;
1409 addr_string = inet_ntoa(sin->sin_addr);
1417 ZVAL_LONG(port, htons(sin->sin_port));
1445 struct sockaddr_in *sin; local
1484 sin = (struct sockaddr_in *) sa;
1487 addr_string = inet_ntoa(sin
1600 struct sockaddr_in sin = {0}; local
1822 struct sockaddr_in sin; local
1940 struct sockaddr_in sin; local
[all...]
/PHP_5_4/ext/standard/
H A Dphp_math.h32 PHP_FUNCTION(sin); variable
/PHP_5_4/main/
H A Dnetwork.c944 struct sockaddr_in *sin = (struct sockaddr_in *) addr; local
945 sin->sin_family = AF_INET;
946 sin->sin_port = htons(port);
947 sin->sin_addr.s_addr = htonl(INADDR_ANY);
/PHP_5_4/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