Thanks for all the help. One more question (hopefully the last), is it possible for me to link in the squidclient in my c/c++ program? I would like to do this "squidclient -H "Cache-Control: only-if-cached\n" 'http://www.freebsd.org/' | head -1 | awk '{ if ($2=="200") print "cached!"; else print "not cached"; }'" programically in my program. Thank you. On 7/11/07, Henrik Nordstrom <henrik@xxxxxxxxxxxxxxxxxxx> wrote:
ons 2007-07-11 klockan 16:29 -0500 skrev ying lcs: > Thanks. Can i use squidclient to query a remotely located squid server > (i.e. squidclient and squid) are on different machine? Sure, just tell it which server and port to connect to.. There is command line options for this and a lot more.. it's just a simple HTTP client. Nothing special really.. REgards Henrik