Refactored socket code into UDPSocket class.

This commit is contained in:
Jason Watkins
2015-04-10 15:58:25 -07:00
parent aa74bc57f5
commit 2736cd86de
9 changed files with 283 additions and 31 deletions

View File

@@ -8,6 +8,8 @@
#ifndef xpcPlugin_xpcPluginTools_h
#define xpcPlugin_xpcPluginTools_h
#include "UDPSocket.h"
#include <time.h>
#include "xplaneConnect.h"
@@ -26,7 +28,7 @@
struct sockaddr recvaddr;
};
void readMessage(struct xpcSocket * recSocket, struct XPCMessage * pMessage);
void readMessage(XPC::UDPSocket* socket, struct XPCMessage * pMessage);
void buildXPLMDataRefs(void);