NAME

catsock_fromstring - parse string representation of a passed socket

SYNOPSIS

#include <cat/cat.h>

CATSOCK catsock_fromstring(const char *str);

DESCRIPTION

This function parses a string representing an open socket passed between processes. catd uses the string representation of an open socket when starting Agents.

catsock_fromstring returns the open socket. On error, the value CATSOCK_INVALID is returned.

SEE ALSO

cat, catnet, catd, catgen