GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > LTX / V2-5-7
Constituent: ltx_server     Tag: sun-gcc
#include "unistd.h"
#include "netinet/in.h"
#include "stdio.h"
#include "string.h"
#include "sys/socket.h"
#include "arpa/inet.h"
#include "netdb.h"
#include "LTX/LTX_server.h"
#include "LTX_server_priv.h"
Include dependency graph for LTX_server.c:
Server Control Functions | |
int | LTX_serverSizeof (void) |
Get the size of a server descriptor. | |
int | LTX_serverInit (LTX_server *lc, LTX_server_config *lcfg, int msg) |
Intialize a server. | |
int | LTX_serverClose (LTX_server *lc) |
Shutdown server. | |
int | LTX_dataSend (LTX_server *lc, void *buf, int size) |
Send data to client. | |
int | LTX_dataRecv (LTX_server *lc, void *buf, int size) |
Receive data from client. | |
Functions | |
static int | LTX_sockRead (int sock, unsigned char *buf, int size) |
static int | LTX_sockWrite (int sock, unsigned char *buf, int size) |
CVS $Id: LTX_server.c,v 1.3 2003/12/12 02:30:42 smaldona Exp $
|
Receive data from client. Received data from the LTX host
|
|
Send data to client. Sends data to the LTX host
|
|
Shutdown server. Stops socket connection
|
|
Intialize a server. Intializes the socket descriptor and server software.
|
|
Get the size of a server descriptor. Returns the size of a socket server descriptor. The user is responsible for allocating this memory before calling.
|
|
Reads a buffer from a socket.
|
|
Writes a buffer to a socket.
|