VR-Link API Documentation for HLA 1516
Home
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
include
vlNetworkCompatibility
vlQueueSocket.h
Go to the documentation of this file.
1
/*********************************************************************
2
** Copyright (c) 1992, 2002 MaK Technologies, Inc.
3
** All rights reserved.
4
*********************************************************************/
5
#ifndef vlQueueSocket_H_
6
#define vlQueueSocket_H_
7
11
12
#include "
vlSocket.h
"
13
#include <
vlutil/vlMachineTypes.h
>
14
#include <
vlutil/vlUtil.h
>
15
16
#ifdef DtUSE_UTILITIES_NAMESPACE
17
namespace
DtUSE_UTILITIES_NAMESPACE
18
{
19
#endif
20
28
class
DT_DLL_NETCOMPAT
DtQueueSocket
:
public
DtSocket
29
{
30
public
:
31
33
DtQueueSocket
();
34
36
virtual
~
DtQueueSocket
();
37
40
virtual
int
sendTo(caddr_t packet,
size_t
size,
DtIpv4Addr
addr);
41
44
virtual
int
DtRecv(caddr_t* buffptr,
int
* status = NULL);
45
virtual
int
DtRecv(caddr_t buff,
size_t
);
46
47
protected
:
48
50
DtQueueSocket
(
const
DtQueueSocket
&);
51
53
DtQueueSocket
& operator=(
const
DtQueueSocket
&);
54
55
protected
:
56
57
DtList
myPackets
;
58
char
*
myPktBuff
;
59
int
myPktBuffSize
;
60
61
};
62
63
#ifdef DtUSE_UTILITIES_NAMESPACE
64
}
65
#endif
66
67
#endif
Document ID: Generated on Wed Aug 14 15:35:11 EDT 2013 from SVN revision 130445
Copyright © 2005-2013 VT MÄK. All Rights Reserved (
www.mak.com
)