Socket Monitor
The Socket monitor waits for an incoming TCP or UDP connection. If a connection is accepted a fault will be raised.
Parameters
-
Host — IP address of remote host (optional, defaults to "")
-
Interface — IP address of interface to listen on (optional, defaults to 0.0.0.0)
-
Port — Port to listen on (optional, defaults to 8080)
-
Protocol — Protocol type to listen for (optional, defaults to tcp)
-
Timeout — Length of time to wait for incoming connection (optional, defaults to 1000 ms)
-
FaultOnSuccess — Fault if no conection is recorded (optional, defaults to false)
Examples
Listen for incoming connection
<Agent name="Local">
<Monitor class="Socket">
<Param name="Port" value="53" />
</Monitor>
</Agent>


