Comment {
This is a sample RSTP configuration file. Everything is case sensitive.
Whitespace is ignored. Otherwise, it's self-explanatory.
}
ClientGroup {
RepeatCheck yes
RepeatDBSize 100
RedundantPeerMode no
RPMMaxTicks 10
Client {
Stream INET
Connection {
Host kb9rlf.net
Port 10001
Timeout 1200
Login your_login_here
Pass your_password_here
}
}
}
ClientGroup ........ Block. Represents a collection of simultaneously maintained connections. RepeatCheck ........ Enable data repeat checking. Values: yes or no . (optional, default yes) RepeatDBSize ....... Adjust size of the repeat checking hash/signature database. (optional) RedundantPeerMode .. Enable Redundant Peer Mode. Values: yes or no . (optional, default no) Note: This is a very specialized feature. See the libradar_stp::RSTPClientMCIf class API documentation. RPMMaxTicks ........ Set the number of ticks required for deltas to be relayed in Redundant Peer Mode. Client ............. Block. Represents a collection of different connections, of which only one should be active at a time. Stream ............. Specify the name of a data stream to request. Multiple Stream directives are OK. Connection ......... Block. Represents parameters to make a TCP/IP connection to a server. Host ............... Specify the fully-qualified name or IP address of the host to connect to. Port ............... Specify the TCP port which the RSTP server is running on. Timeout ............ How many seconds of dead time to wait before trying next connection (optional, you may accept the default). Login .............. Login name, if server requires it. Case sensitive. (optional) Pass ............... Password, if server requires it. Case sensitive. (optional)Connection blocks within a Client block. In this case, if the first is detected to go down (depends on Timeout setting), then the client will attempt to connect to the server described in the second Connection block. Client blocks within a ClientGroup block. Each client block is treated as described above, except the client attempts to maintain one connection from each Client block. This is how you can configure the client to connect to multiple servers at one time. The RepeatCheck option allows you to enable data repeat checking, which should prevent multiple copies of received data from being passed to the data callback. Client or ClientGroup and a Server block in the same file. This is especially useful for configuring relay nodes.
1.4.7