DspExport overview
DspExport works as follows:
-
When it receives a socket connection request, it establishes a connection to the radar server computer (RVP10SRV) and initially allows multiple connections.
-
DspExport handles the INFO, SETUP, and OPEN commands.
-
When the OPEN command is sent, an exclusive connection for I/O to RVP10SRV is established.
If a second OPEN request arrives while the first is still active, it fails, and returns the message Device allocated to another user.
| Example | File |
|---|---|
| DspExport | ${IRIS_ROOT}/src/rda/dsp |
| dsp library | ${IRIS_ROOT}/base/dsp_lib In the library, the example codetalks to DspExport in the OpenSocket.c, dsp_read.c, and dsp_write.c files. |
Search for the string
SOCKET to see how the code differs between SCSI interface and socket
interface. |
-
To check if DspExport is running, type:
$ ps –aef | grep DspExportDspExport is usually configured to run all the time.
- You can start the application from the terminal window by typing: DspExport
-
For detailed logging, start the daemon with the
–voption -
The default port is 30740.
To use another port, start it with an option such as –port:12345.
- To view the options, type –help.
