27 host=
"localhost:4433";
36 PROXY_add_server(pxy,PROXY_PROTOCOL_SOCKS,
"gromit:1080");
38 bio=
BIO_new(BIO_s_socks4a_connect());
42 BIO_set_socks_userid(bio,
"eay");
45 p=
"GET / HTTP/1.0\r\n\r\n";
56 fprintf(stderr,
"write DELAY\n");
78 fprintf(stderr,
"read DELAY\n");
84 fwrite(buf,1,i,stdout);
94 fprintf(stderr,
"errno=%d ",
errno);
101 if (pxy != NULL) PROXY_free(pxy);