| aStem_SetStream | Index |
Definition:
| aLIBRETURN aStem_SetStream( | aStemLib stemRef, aStreamRef streamRef, aStemStreamType streamType, aErr* pErr); |
Parameters:
| stemRef | - | A pointer to the opaque library reference to set the stream on. |
| streamRef | - | The new stream to use for communication with the BrainStem. |
| streamType | - | The type of stream being set. |
| pErr | - | A pointer to an aErr variable that recieves the error code on exit from this routine. |
Return Value:
Description:
The stream type can be either kStemModuleStream or kStemRelayStream . If you are connecting to a module, use the kStemModuleStream type. If you are creating a relay between two different stream types (serial to TCP/IP socket, for instance), you would use the kStemRelayStream .
Related: