websock start
This commit is contained in:
parent
bd35d65efc
commit
364c96e5b2
9 changed files with 47 additions and 25 deletions
2
server/src/sock/gamesock.cpp
Normal file
2
server/src/sock/gamesock.cpp
Normal file
|
@ -0,0 +1,2 @@
|
|||
#include "gamesock.hpp"
|
||||
|
22
server/src/sock/gamesock.hpp
Normal file
22
server/src/sock/gamesock.hpp
Normal 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
|
2
server/src/sock/intrasock.cpp
Normal file
2
server/src/sock/intrasock.cpp
Normal file
|
@ -0,0 +1,2 @@
|
|||
#include "intrasock.hpp"
|
||||
|
20
server/src/sock/intrasock.hpp
Normal file
20
server/src/sock/intrasock.hpp
Normal file
|
@ -0,0 +1,20 @@
|
|||
#ifndef SOSC_INTSOCK_H
|
||||
#define SOSC_INTSOCK_H
|
||||
|
||||
namespace sosc {
|
||||
class IntraConnection {
|
||||
public:
|
||||
|
||||
private:
|
||||
|
||||
};
|
||||
|
||||
class IntraServer {
|
||||
public:
|
||||
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
#endif
|
|
@ -1 +0,0 @@
|
|||
|
|
@ -1,6 +0,0 @@
|
|||
#ifndef SOSC_RAWSOCK_H
|
||||
#define SOSC_RAWSOCK_H
|
||||
|
||||
|
||||
|
||||
#endif
|
|
@ -1 +0,0 @@
|
|||
#include "websock.hpp"
|
|
@ -1,16 +0,0 @@
|
|||
#ifndef SOSC_WEBSOCK_H
|
||||
#define SOSC_WEBSOCK_H
|
||||
|
||||
#include "tcpsock.hpp"
|
||||
|
||||
namespace sosc {
|
||||
class WebSocketClient {
|
||||
|
||||
};
|
||||
|
||||
class WebSocketServer {
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
#endif
|
Loading…
Reference in a new issue