Searched refs:con_sock (Results 1 - 1 of 1) sorted by relevance

/freebsd-11-stable/release/picobsd/tinyware/simple_httpd/
H A Dsimple_httpd.c54 static int http_sock, con_sock; variable
135 con_sock = accept(http_sock, (struct sockaddr *) & source, &lg);
136 if (con_sock <= 0) {
153 write(con_sock, buff, strlen(buff));
163 write(con_sock, html, strlen(html));
164 write(con_sock, "\r\n", 2);
227 lg = read(con_sock, req, 1024);
278 dup(con_sock);
336 write(con_sock, buff, strlen(buff));
351 write(con_sock, buf
[all...]

Completed in 57 milliseconds