FireSync API
 All Classes Files Functions Variables Typedefs Friends Macros Modules Pages
kStatus kNode_SubscribeData ( kNode  node,
const k16u ports,
kSize  portCount 
)

Sets the network data output ports to which this client should connect.

When the kNode_OpenData function (or kSystem_Start function) is called, this client will connect to one or more of the remote node's data output ports. By default, the client will connect to data output port 0; the kNode_SubscribeData function can be used to override the default behaviour.

Parameters
nodeNode object.
portsPorts that should be connected.
portCountCount of ports to be connected.
Returns
Operation status.
See also
kNode_OpenData, kNet_SetDataOutPortCount