I'm trying to test connectivity to a web server using tcpread
vars:

"google" string => readtcp(
     "www.google.ca",
     "80",
     "GET /index.html",
     "20");

If I simulate this with netcat I get the results I would expect.
nc www.google.ca 80
GET /index.html

This returns a page.

However, readtcp times out.  What have I missed?

-- 
Neil Watson
Linux/UNIX Consultant
http://watson-wilson.ca
_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to