SQUID STATUS: LOCATED

This commit is contained in:
malloc 2018-02-15 17:09:09 -06:00
parent 125473c041
commit 3af57b7aeb
8 changed files with 53 additions and 2 deletions

View file

@ -1,6 +1,11 @@
cmake_minimum_required(VERSION 2.6) cmake_minimum_required(VERSION 2.6)
project(server) project(server)
add_executable(server main.cpp) file(GLOB_RECURSE server_src
"src/*.hpp"
"src/*.cpp"
)
add_executable(server ${server_src})
install(TARGETS server RUNTIME DESTINATION bin) install(TARGETS server RUNTIME DESTINATION bin)

View file

@ -1,6 +1,8 @@
#include <iostream> #include <iostream>
#include "sock/tcpsock.hpp"
int main(int argc, char **argv) { int main(int argc, char **argv) {
birdposting extreme auto sock = TcpClient();
return 0; return 0;
} }

View file

@ -0,0 +1 @@

View file

@ -0,0 +1,6 @@
#ifndef SOSC_RAWSOCK_H
#define SOSC_RAWSOCK_H
#endif

View file

@ -0,0 +1,6 @@
#include "tcpsock.hpp"
TcpClient::TcpClient() {
std::cout << "test" << std::endl;
}

View file

@ -0,0 +1,24 @@
#ifndef SOSC_TCPSOCK_H
#define SOSC_TCPSOCK_H
#include <iostream>
class TcpClient {
public:
TcpClient();
~TcpClient();
protected:
};
class TcpServer {
public:
TcpServer();
~TcpServer();
protected:
};
#endif

View file

@ -0,0 +1 @@

View file

@ -0,0 +1,6 @@
#ifndef SOSC_WEBSOCK_H
#define SOSC_WEBSOCK_H
#endif