{"id":3628,"date":"2019-02-12T16:09:31","date_gmt":"2019-02-12T16:09:31","guid":{"rendered":"https:\/\/cyflexdoc.wpengine.com\/usage-help-manual\/6-internodal-communication\/ev_tcp_receive\/"},"modified":"2025-09-19T11:48:30","modified_gmt":"2025-09-19T16:48:30","slug":"ev_tcp_receive","status":"publish","type":"page","link":"https:\/\/cyflex.com\/index.php\/usage-help-manual\/18-internodal-communication\/ev_tcp_receive\/","title":{"rendered":"ev_tcp_receive"},"content":{"rendered":"<div>\n<h3>Purpose:<\/h3>\n<\/div>\n<dl>\n<dd>\n<p>Receive TCP\/IP messages from remote networks and set specified CyFlex events based on the message content.\u00a0<\/p>\n<\/dd>\n<\/dl>\n<h3>Enter:<\/h3>\n<p style=\"padding-left: 40px;\"><strong>ev_tcp_receive<\/strong> \u00a0[subnetMask] [&#8211;log ]\u00a0<\/p>\n<p style=\"padding-left: 40px;\">ev_tcp_receive can be started by typing the program name, or optionally by typing the program name plus subnet mask. This option allows ev_tcp_receive to filter client notes from which it can receive sent event.<\/p>\n<p style=\"padding-left: 40px;\">The subnet mask follows the usual format for IP version4. A system error will occur in the execution if the value of the IP in any of the octets is more than the permitted 255 or is invalid.<\/p>\n<h3>Where:<\/h3>\n<dl>\n<dd>\n<table style=\"width: 90.4281%; height: 48px;\" cellspacing=\"0\" cellpadding=\"0\">\n<colgroup>\n<col \/>\n<col \/> <\/colgroup>\n<tbody>\n<tr style=\"height: 24px;\">\n<td style=\"width: 13.1371%; height: 24px;\">subnetMask<\/td>\n<td style=\"width: 266.228%; height: 24px;\">Optional. Specify a string representing the subnet mask (e.g., &#8220;198.201.0.0&#8221;) for filtering client IP addresses.\u00a0<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 13.1371%; height: 24px;\">&#8211;log<\/td>\n<td style=\"width: 266.228%; height: 24px;\">Optional. Specify this option to enable logging to a timestamped file in \/data\/errors\/.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/dd>\n<\/dl>\n<h3>Example:<\/h3>\n<dl>\n<dd>\n<p>For a host within a network with IP address 198.201.78.5, the subnet mask typed at the prompt can be any of the following:<\/p>\n<p>198.0.0.0 &#8212;-&gt; This allows all client nodes having 198 in the first octet<br \/>\n198.201.0.0 &#8212;-&gt; This allows only clients with IP addresses matching the first two octets<br \/>\n198.201.78.0 &#8212;-&gt; Allows only clients with IP addresses matching the first three octets<\/p>\n<p>The program can then be launched by typing any of the following kinds of option:<\/p>\n<p><strong>ev_tcp_receive<\/strong> \/\/for default execution only<br \/>\n<strong>ev_tcp_receive<\/strong> 198.201.0.0<br \/>\n<strong>ev_tcp_receive<\/strong> 198.201.78.0<\/p>\n<\/dd>\n<\/dl>\n<h3>Notes:<\/h3>\n<dl>\n<dd>\n<p>The program runs indefinitely and should be executed in the background. Invalid subnet masks will result in errors and prevent socket creation.<\/p>\n<\/dd>\n<\/dl>\n<h3>See Also:<\/h3>\n<p style=\"padding-left: 40px;\">Cummins SharePoint: Sending Message Events between CyFlex Systems, <a href=\"\/index.php\/usage-help-manual\/18-internodal-communication\/ev_tcp_specs\/\">ev_tcp_specs<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Purpose: Receive TCP\/IP messages from remote networks and set specified CyFlex events based on the message content.\u00a0 Enter: ev_tcp_receive \u00a0[subnetMask] [&#8211;log ]\u00a0 ev_tcp_receive can be started by typing the program name, or optionally by typing the program name plus subnet mask. This option allows ev_tcp_receive to filter client notes from which it can receive sent [&hellip;]<\/p>\n","protected":false},"author":47,"featured_media":0,"parent":1953,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-3628","page","type-page","status-publish","hentry"],"post_mailing_queue_ids":[],"_links":{"self":[{"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/pages\/3628","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/users\/47"}],"replies":[{"embeddable":true,"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/comments?post=3628"}],"version-history":[{"count":0,"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/pages\/3628\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/pages\/1953"}],"wp:attachment":[{"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/media?parent=3628"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}