Commit 9442a14b authored by Joseph Pallamidessi's avatar Joseph Pallamidessi

Fix some scope related issue when setting class member

parent 2852e2fd
This diff is collapsed.
......@@ -6,6 +6,7 @@
#ifndef CCOMUDPLAYER_H_
#define CCOMUDPLAYER_H_
#ifdef WIN32
#include <winsock2.h>
#include <ws2tcpip.h>
......@@ -30,6 +31,7 @@
#define _MULTI_THREADED
#define MAXINDSIZE 50000 /*maximum size of an individual in number of characters*/
typedef struct {
char data[MAXINDSIZE];
}RECV_DATA;
......@@ -57,7 +59,6 @@ public:
private:
int ServerSocket;
pthread_t thread;
int Socket;
};
class CComUDPClient {
......@@ -66,7 +67,7 @@ public:
int debug;
void CComUDP_client_send(char *individual);
CComUDPClient(unsigned short port, const char *ip,int dg);
CComUDPClient(struct sockaddr_in* addr, int dg);
CComUDPClient(struct sockaddr_in* addr, int dg);
~CComUDPClient();
std::string getIP();
int getPort();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment