websock start

This commit is contained in:
malloc 2018-03-08 08:14:27 -06:00
parent bd35d65efc
commit 364c96e5b2
9 changed files with 47 additions and 25 deletions

View file

@ -4,7 +4,7 @@ project(server)
file(GLOB_RECURSE server_src file(GLOB_RECURSE server_src
"src/*.hpp" "src/*.hpp"
"src/*.cpp" "src/*.cpp"
) )
if(CMAKE_COMPILER_IS_GNUCXX) if(CMAKE_COMPILER_IS_GNUCXX)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -static") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -static")

View file

@ -0,0 +1,2 @@
#include "gamesock.hpp"

View file

@ -0,0 +1,22 @@
#ifndef SOSC_GAMESOCK_H
#define SOSC_GAMESOCK_H
#include "tcpsock.hpp"
namespace sosc {
class GameConnection {
public:
private:
sosc::TcpClient client;
};
class GameServer {
public:
private:
};
}
#endif

View file

@ -0,0 +1,2 @@
#include "intrasock.hpp"

View file

@ -0,0 +1,20 @@
#ifndef SOSC_INTSOCK_H
#define SOSC_INTSOCK_H
namespace sosc {
class IntraConnection {
public:
private:
};
class IntraServer {
public:
private:
};
}
#endif

View file

@ -1 +0,0 @@

View file

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

View file

@ -1 +0,0 @@
#include "websock.hpp"

View file

@ -1,16 +0,0 @@
#ifndef SOSC_WEBSOCK_H
#define SOSC_WEBSOCK_H
#include "tcpsock.hpp"
namespace sosc {
class WebSocketClient {
};
class WebSocketServer {
};
}
#endif