#include "azcam.h"
Functions | |
| int | OpenAzCam (azcam_t *cam, char *reply) |
| Open a TCP socket connection to an AzCamServer. | |
| void | CloseAzCam (azcam_t *cam) |
| Terminate an AzCam client session and close the server socket. | |
| int | WriteAzCam (azcam_t *cam, char *cmdstr) |
| Write data to an AzCam server TCP socket. | |
| int | ReadAzCam (azcam_t *cam, char *msgstr) |
| Read data from an AzCam server TCP socket. | |
| int | AzCamCommand (azcam_t *cam, char *cmdstr, char *reply) |
| Send a command to the AzCam server and await a reply. | |
A set of basic TCP socket I/O routines that define the common communications layer for the AzCam client API.
|
||||||||||||
|
Open a TCP socket connection to an AzCamServer.
For socket communications we use INET streams (SOCK_STREAM) with a persistent client connection.
|
|
|
Terminate an AzCam client session and close the server socket.
|
|
||||||||||||
|
Write data to an AzCam server TCP socket.
On errors, it returns an error message in cmdstr.
|
|
||||||||||||
|
Read data from an AzCam server TCP socket.
|
|
||||||||||||||||
|
Send a command to the AzCam server and await a reply.
|
1.4.2