why did i do a subcommit right before work end

This commit is contained in:
malloc 2018-03-06 17:04:41 -06:00
parent 6fc1641c06
commit b9fc0253ff

View file

@ -25,6 +25,7 @@
#include <cstdlib> #include <cstdlib>
#include <cstring> #include <cstring>
#include <iostream> #include <iostream>
#include "../utils/net.hpp"
#define SOSC_TCP_BUFLEN 2048 #define SOSC_TCP_BUFLEN 2048
@ -35,12 +36,13 @@ public:
bool Init(std::string host, std::uint16_t port); bool Init(std::string host, std::uint16_t port);
~TcpClient(); ~TcpClient();
protected: private:
bool Init(SOSC_SOCK_T sock, SOSC_ADDR_T addr, int addr_len); bool Init(SOSC_SOCK_T sock, SOSC_ADDR_T addr, int addr_len);
SOSC_SOCK_T sock; SOSC_SOCK_T sock;
bool sock_open; bool sock_open;
net::IpAddress ip;
SOSC_ADDR_T addr; SOSC_ADDR_T addr;
int addr_len; int addr_len;
@ -54,7 +56,7 @@ public:
TcpServer(); TcpServer();
~TcpServer(); ~TcpServer();
protected: private:
SOSC_SOCK_T sock; SOSC_SOCK_T sock;
}; };
} }