GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > NMSG / V3-0-0
Constituent: nmsg     Tag: i845e
#include "stdlib.h"
#include "unistd.h"
#include "sys/types.h"
#include "sys/socket.h"
#include "netdb.h"
#include "netinet/in.h"
#include "pthread.h"
#include "errno.h"
#include "VBI/vxwdef.h"
#include "string.h"
#include "stdio.h"
#include "NMSG/nmsgLib.h"
Include dependency graph for nmsgLib.c:

Functions | |
| STATUS | nmsgConnect (void **hndl, char *node, int port) |
| Connect to a message server. | |
| STATUS | nmsgConnectAsy (void **hndl, char *node, int port, nmsgConnCB_t connRtn, nmsgDiscCB_t discRtn, void *uParm) |
| Connect asynchronously (robustly) to a message server. | |
| STATUS | nmsgListen (void **hndl, int port, int maxConn, int maxData, nmsgConnCB_t connRtn, nmsgDiscCB_t discRtn, nmsgRcveCB_t rcveRtn, void *uParm) |
| Establish a message server. | |
| STATUS | nmsgClose (void *hndl, int force) |
| Terminate a message client or server. | |
| STATUS | nmsgSendW (void *hndl, nmsgBuff_t *msg, nmsgBuff_t **replyP, nmsgBuff_t *reply, int maxData) |
| Send a message and receive reply. | |
| STATUS | nmsgSend (void *hndl, nmsgBuff_t *msg) |
| Send a message and return immediately. | |
| STATUS | nmsgWait (void *hndl, nmsgBuff_t **replyP, nmsgBuff_t *reply, int maxData) |
| Wait for a reply to a sent message. | |
| int | nmsgRemoteIP (void *hndl) |
| Get the IP address of the remote end. | |
| int | nmsgCheck (void *hndl) |
| Check a network connection handle. | |
|
|
Check a network connection handle. This routine checks whether a network handle is valid or not.
|
|
||||||||||||
|
Terminate a message client or server. This routine closes a network connection or stops a network server.
|
|
||||||||||||||||
|
Connect to a message server. This routine establishes a network connection to a message server.
|
|
||||||||||||||||||||||||||||
|
Connect asynchronously (robustly) to a message server. This routine establishes a robust network connection to a message server. The connection is done asynchronously, and the attempt is retried periodically if the initial attempt fails, or if the connection is broken.
|
|
||||||||||||||||||||||||||||||||||||
|
Establish a message server. This routine establishes a network message server (listener).
|
|
|
Get the IP address of the remote end. This routine returns the IP address of the remote end of a connection. It can be used on either end of a connection.
|
|
||||||||||||
|
Send a message and return immediately. This routine sends a message on a network connection and returns without waiting for a reply.
|
|
||||||||||||||||||||||||
|
Send a message and receive reply. This routine sends a message on a network connection and waits for a reply.
|
|
||||||||||||||||||||
|
Wait for a reply to a sent message. This routine waits for a reply to a previously sent message.
|
1.4.4