SQUID STATUS: LOCATED
This commit is contained in:
parent
125473c041
commit
3af57b7aeb
8 changed files with 53 additions and 2 deletions
|
@ -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)
|
||||||
|
|
|
@ -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;
|
||||||
}
|
}
|
1
server/src/sock/rawsock.cpp
Normal file
1
server/src/sock/rawsock.cpp
Normal file
|
@ -0,0 +1 @@
|
||||||
|
|
6
server/src/sock/rawsock.hpp
Normal file
6
server/src/sock/rawsock.hpp
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
#ifndef SOSC_RAWSOCK_H
|
||||||
|
#define SOSC_RAWSOCK_H
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#endif
|
6
server/src/sock/tcpsock.cpp
Normal file
6
server/src/sock/tcpsock.cpp
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
#include "tcpsock.hpp"
|
||||||
|
|
||||||
|
TcpClient::TcpClient() {
|
||||||
|
std::cout << "test" << std::endl;
|
||||||
|
}
|
||||||
|
|
24
server/src/sock/tcpsock.hpp
Normal file
24
server/src/sock/tcpsock.hpp
Normal 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
|
1
server/src/sock/websock.cpp
Normal file
1
server/src/sock/websock.cpp
Normal file
|
@ -0,0 +1 @@
|
||||||
|
|
6
server/src/sock/websock.hpp
Normal file
6
server/src/sock/websock.hpp
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
#ifndef SOSC_WEBSOCK_H
|
||||||
|
#define SOSC_WEBSOCK_H
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#endif
|
Loading…
Reference in a new issue