GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > NMSG / V2-0-1
Constituent: nmsg_ux     Tag: sun-gcc
#include "vxWorks.h"
Include dependency graph for nmsgLib.h:
This graph shows which files directly or indirectly include this file:
Data Structures | |
struct | nmsgBuff_s |
Prototype message buffer. More... | |
struct | nmsgHead_s |
Network message header. More... | |
Typedefs | |
typedef nmsgHead_s | nmsgHead_t |
Network message header. | |
typedef nmsgBuff_s | nmsgBuff_t |
Prototype message buffer. | |
Functions | |
STATUS | nmsgConnect (void **hndl, char *node, int port) |
Connect to a message server. | |
STATUS | nmsgConnectAsy (void **hndl, char *node, int port, int(*connRtn)(void *hndl, void **uParm), int(*discRtn)(void *hndl, void **uParm), void *uParm) |
Connect asynchronously (robustly) to a message server. | |
STATUS | nmsgListen (void **hndl, int port, int maxConn, int maxData, int(*connRtn)(void *hndl, void **uParm), int(*discRtn)(void *hndl, void **uParm), int(*rcveRtn)(void *hndl, void **uParm, nmsgBuff_t *msg), 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 *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 *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.
|