zStatus zFireSync_EnablePassiveData(zFireSync fireSync, z32u dataChannel, zIPEndPoint* sender);
|
Parameters |
Description |
|
zFireSync fireSync |
zFireSync object. |
|
z32u dataChannel |
FireSync server data channel ID (0-63). |
|
zIPEndPoint* sender |
IP end point of the passive sender. |
Enables a FireSync server passive data channel and provides the end-point to which a receiver can connect.
This function uses the Control channel and can be called only when the system is stopped.
A zReceiver object can be used to connect to the FireSync server at the sender address, and to receive data messages. When the zFireSync_Start function is called, the server will send data messages to any connected passive receivers.
zFireSync.h