function

First seen , last seen .

readtcp

See also: readtcp (function-call)

A built-in CFEngine function in the communication category that returns a string. readtcp is called 1 time from 1 bundle or body in 1 policy file, on 100 hosts in your infrastructure.

Signature
readtcp(string, string, string, int)
Parameters
  1. string Host name or IP address of server socket (.*)
  2. string Port number or service name (.*)
  3. string Protocol query string (.*)
  4. int Maximum number of bytes to read (0,99999999999)
Returns
string
Category
communication