Shut down communications channel
This code from rtiostreamtest.c
detects errors when closing the
communications channel.
static int closeServer(void) { const int errorOccurred = rtIOStreamClose(streamID); if (errorOccurred == RTIOSTREAM_ERROR) { return errorOccurred; } return RTIOSTREAM_NO_ERROR; }
rtiostream_wrapper
| rtIOStreamOpen
| rtIOStreamRecv
| rtIOStreamSend