TCP

From IPLOG
Jump to: navigation, search

Back to Libraries

TCP library

TCP

TCP_RX

The listening block on the port indicated on the PORT input, whether the pattern given on the PATTERN input appears. After receiving such a pattern, the CONTAINS output is activated.

in PORT int port number on which we are listening
in PATTERN string expected pattern
out CONTAINS bool activated if a pattern is received