-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathFLDALib.h
executable file
·47 lines (43 loc) · 1.69 KB
/
FLDALib.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
class __declspec(dllimport) CDPClient
{
public:
CDPClient(class CDPClient const &);
CDPClient(void);
virtual ~CDPClient(void);
class CDPClient & operator=(class CDPClient const &);
bool AddConnectAttempt(unsigned short const *,unsigned short *);
void CancelEnums(void);
void Cleanup(void);
void Close(void);
void DispatchMsgs(unsigned long);
bool EnumerateHost(unsigned short const *,unsigned long,unsigned long,unsigned long,unsigned long);
bool EnumerateHosts(void);
struct IDirectPlay8Client * GetClient(void);
long GetConnectResult(void);
static unsigned long __cdecl GetLastMsgTimestamp(void);
static unsigned long __cdecl GetLinkQuality(void);
static unsigned long __cdecl GetPingDelay(void);
static unsigned long __cdecl GetSendQueueSize(void);
static bool __cdecl IsPingOutstanding(void);
bool ProcessConnectAttempt(void);
bool Send(unsigned char *,unsigned long);
void SetGUID(struct _GUID &);
static void __cdecl SetSourcePort(unsigned long);
protected:
bool ConnectToServer(unsigned short const *,unsigned short const *);
static long __stdcall HandleClientMsg(void *,unsigned long,void *);
static unsigned long m_dwLastMsgReceivedTime;
static unsigned long m_dwLinkQuality;
static unsigned long m_dwPingLastTime;
static unsigned long m_dwPingReceiveCount;
static unsigned long m_dwPingReceiveTime;
static unsigned long m_dwPingSendCount;
static unsigned long m_dwPingSendTime;
static unsigned long m_dwRoundTripTime;
static unsigned long m_dwSourcePort;
public:
unsigned char data[2048];
};
///
////////////////////////////////////////////////////////////////////////////////////////
///