Searched defs:server_addr (Results 1 - 2 of 2) sorted by relevance

/httpd/test/
H A Dtest-writev.c51 struct sockaddr_in server_addr; local
63 server_addr.sin_family = AF_INET;
64 server_addr.sin_addr.s_addr = inet_addr( argv[1] );
65 if( server_addr.sin_addr.s_addr == INADDR_NONE ) {
69 server_addr.sin_port = htons( atoi( argv[2] ) );
76 if( connect( s, (struct sockaddr *)&server_addr, sizeof( server_addr ) )
/httpd/modules/generators/
H A Dmod_cgid.c95 static struct sockaddr_un *server_addr; variable in typeref:struct:sockaddr_un
630 rc = bind(sd, (struct sockaddr *)server_addr, server_addr_len);
930 if (strlen(tmp_sockname) > sizeof(server_addr->sun_path) - 1) {
931 tmp_sockname[sizeof(server_addr->sun_path)] = '\0';
939 server_addr = (struct sockaddr_un *)apr_palloc(p, server_addr_len + 1);
940 server_addr->sun_family = AF_UNIX;
941 strcpy(server_addr->sun_path, sockname);
1222 if (connect(sd, (struct sockaddr *)server_addr, server_addr_len) < 0) {

Completed in 970 milliseconds