![]() |
VR-Link API Documentation for HLA 1516
|
This file contains definitions common to the Shared Memory Packet Server and its clients. More...
Go to the source code of this file.
Classes | |
| struct | DtCsMsgHdr |
| struct | DtCsMsgWaiting |
| No padding is needed, since this goes via a socket. More... | |
| struct | DtCsAddClient |
| struct | DtCsClientPacket |
| We want this as a separate structure, because we will use Writev() to send one of these plus the packet. More... | |
| struct | DtCsControlReq |
| struct | DtCsMulticastReq |
| struct | DtCsFilter |
| struct | DtCsAck |
| struct | DtCsCliQuota |
| No padding is needed, because this is sent via a socket. More... | |
| struct | DtCsServerMsgWaiting |
| No padding is needed, because this is sent via a socket. More... | |
| struct | DtCsServerPacket |
| We want this as a separate structure, because we will use Writev() to send one of these plus the packet. More... | |
| struct | DtCsStateReturn |
| struct | DtCsCStateReturn |
| struct | DtCsWarning |
| struct | DtCsNotice |
| union | DtCsMsg |
| class | DtClientServerMsg |
| class | DtSocketMsg |
| class | DtCsMsgWaitingMsg |
| class | DtCsAddClientMsg |
Defines | |
| #define | DtCsClientPathSize 160 |
| #define | DtCsMaxWarningSize 160 |
| #define | DtCsVersionApril95 2 |
| #define | DtCsVersionSeptember95 3 |
| #define | DtCsVersionCurrent DtCsVersionSeptember95 |
| #define | DtMinimumSendQSizeSupportedByVers2Server 32 |
| #define | DtCsClientTypePacket 0 |
| #define | DtCsClientTypeControl 1 |
| #define | DtCsUseDefaultSize -1 |
| #define | DtCsFlagsRead 0x0001 |
| #define | DtCsFlagsWrite 0x0002 |
| #define | DtCsFlagsReadWrite (DtCsFlagsRead | DtCsFlagsWrite) |
| #define | DtCsFlagsServerChooseDropMode 0x0004 |
| #define | DtCsFlagsServerDropOldest 0x0008 |
| #define | DtCsFlagsClientDropOldest 0x0010 |
| #define | DtCsFlagsDropOldest |
| #define | DtCsFlagsReadResourceWait 0x0020 |
| #define | DtCsFlagsWriteResourceWait 0x0040 |
| #define | DtCsFlagsResourceWait |
| #define | DtCsFlagsDontNotify 0x0080 |
| #define | DtCsFlagsControlOnly 0x0100 |
| #define | DtCsMsgWaitingKind 0 |
| This is sent to client and server via sockets. | |
| #define | DtCsAddClientKind 1 |
| These are sent to the Server via the Server's well-known socket. | |
| #define | DtCsClientPacketKind 2 |
| #define | DtCsControlReqKind 4 |
| #define | DtCsFilterKind 5 |
| #define | DtCsMulticastReqKind 13 |
| #define | DtCsCrExternal 0 |
| #define | DtCsCrInternal 1 |
| #define | DtCsCrTestClients 2 |
| #define | DtCsCrPing 3 |
| #define | DtCsCrState 4 |
| #define | DtCsCrCState 5 |
| #define | DtCsCrQuit 6 |
| #define | DtCsCrDisconnect 7 |
| #define | DtCsCrUnbundle 8 |
| #define | DtCsCrNoUnbundle 9 |
| #define | DtCsMSubscribe 0 |
| #define | DtCsMUnsubscribe 1 |
| #define | DtCsAckKind 6 |
| These next two are sent to the Client via the Client's socket. | |
| #define | DtCsCliQuotaKind 7 |
| #define | DtCsServerPacketKind 8 |
| The rest are sent via shared memory. | |
| #define | DtCsStateReturnKind 9 |
| #define | DtCsCStateReturnKind 10 |
| #define | DtCsWarningKind 11 |
| #define | DtCsNoticeKind 12 |
| #define | DtCsNExternal 0 |
| #define | DtCsNInternal 1 |
| #define | DtCsNExtCliQuota 2 |
| #define | DtCsNPing 3 |
| #define | DtCsNClosing 4 |
| #define | DtCsFilterTypeExercise 0 |
| #define | DtCsFilterTypeVersion 1 |
| #define | DtCsFilterTypePduKind 2 |
| #define | DtCsFilterTypeIpAddr 3 |
| #define | DtCsFilterOpSetOperator 0 |
| #define | DtCsFilterOpAddValue 1 |
| #define | DtCsOperatorEQ 0 |
| #define | DtCsOperatorNEQ 1 |
| #define | DtCsCStateServerBlockRead 0x01 |
| blockFlags look like: | |
| #define | DtCsCStateServerBlockWrite 0x02 |
| #define | DtCsCStateClientBlockRead 0x04 |
| #define | DtCsCStateClientBlockWrite 0x08 |
Enumerations | |
| enum | DtOpenUnixDgramAction { DtBIND, DtCONNECT } |
| !PCFTP More... | |
Functions | |
| int | DtOpenUnixDgram (char *path, DtOpenUnixDgramAction action, char *who) |
| int | DtPacketServerIsAlive (int port) |
This file contains definitions common to the Shared Memory Packet Server and its clients.
| #define DtCsAckKind 6 |
These next two are sent to the Client via the Client's socket.
| #define DtCsAddClientKind 1 |
These are sent to the Server via the Server's well-known socket.
| #define DtCsClientPacketKind 2 |
| #define DtCsClientPathSize 160 |
| #define DtCsClientTypeControl 1 |
| #define DtCsClientTypePacket 0 |
| #define DtCsCliQuotaKind 7 |
| #define DtCsControlReqKind 4 |
| #define DtCsCrCState 5 |
| #define DtCsCrDisconnect 7 |
| #define DtCsCrExternal 0 |
| #define DtCsCrInternal 1 |
| #define DtCsCrNoUnbundle 9 |
| #define DtCsCrPing 3 |
| #define DtCsCrQuit 6 |
| #define DtCsCrState 4 |
| #define DtCsCrTestClients 2 |
| #define DtCsCrUnbundle 8 |
| #define DtCsCStateClientBlockRead 0x04 |
| #define DtCsCStateClientBlockWrite 0x08 |
| #define DtCsCStateReturnKind 10 |
| #define DtCsCStateServerBlockRead 0x01 |
blockFlags look like:
| #define DtCsCStateServerBlockWrite 0x02 |
| #define DtCsFilterKind 5 |
| #define DtCsFilterOpAddValue 1 |
| #define DtCsFilterOpSetOperator 0 |
| #define DtCsFilterTypeExercise 0 |
| #define DtCsFilterTypeIpAddr 3 |
| #define DtCsFilterTypePduKind 2 |
| #define DtCsFilterTypeVersion 1 |
| #define DtCsFlagsClientDropOldest 0x0010 |
| #define DtCsFlagsControlOnly 0x0100 |
| #define DtCsFlagsDontNotify 0x0080 |
| #define DtCsFlagsDropOldest |
(DtCsFlagsClientDropOldest | \ DtCsFlagsServerDropOldest)
| #define DtCsFlagsRead 0x0001 |
| #define DtCsFlagsReadResourceWait 0x0020 |
| #define DtCsFlagsReadWrite (DtCsFlagsRead | DtCsFlagsWrite) |
| #define DtCsFlagsResourceWait |
(DtCsFlagsReadResourceWait | \ DtCsFlagsWriteResourceWait)
| #define DtCsFlagsServerChooseDropMode 0x0004 |
| #define DtCsFlagsServerDropOldest 0x0008 |
| #define DtCsFlagsWrite 0x0002 |
| #define DtCsFlagsWriteResourceWait 0x0040 |
| #define DtCsMaxWarningSize 160 |
| #define DtCsMsgWaitingKind 0 |
This is sent to client and server via sockets.
| #define DtCsMSubscribe 0 |
| #define DtCsMulticastReqKind 13 |
| #define DtCsMUnsubscribe 1 |
| #define DtCsNClosing 4 |
| #define DtCsNExtCliQuota 2 |
| #define DtCsNExternal 0 |
| #define DtCsNInternal 1 |
| #define DtCsNoticeKind 12 |
| #define DtCsNPing 3 |
| #define DtCsOperatorEQ 0 |
| #define DtCsOperatorNEQ 1 |
| #define DtCsServerPacketKind 8 |
The rest are sent via shared memory.
| #define DtCsStateReturnKind 9 |
| #define DtCsUseDefaultSize -1 |
| #define DtCsVersionApril95 2 |
| #define DtCsVersionSeptember95 3 |
| #define DtCsWarningKind 11 |
| #define DtMinimumSendQSizeSupportedByVers2Server 32 |
| int DtOpenUnixDgram | ( | char * | path, |
| DtOpenUnixDgramAction | action, | ||
| char * | who | ||
| ) |
| int DtPacketServerIsAlive | ( | int | port | ) |