Added vscode
This commit is contained in:
parent
177bc602af
commit
f652ba1f34
29
.vscode/c_cpp_properties.json
vendored
Normal file
29
.vscode/c_cpp_properties.json
vendored
Normal file
@ -0,0 +1,29 @@
|
||||
{
|
||||
"configurations": [
|
||||
{
|
||||
"name": "Linux",
|
||||
"includePath": [
|
||||
"${workspaceFolder}/**"
|
||||
],
|
||||
"defines": [],
|
||||
"compilerPath": "/usr/bin/gcc",
|
||||
"cStandard": "gnu17",
|
||||
"cppStandard": "gnu++14",
|
||||
"intelliSenseMode": "gcc-x64",
|
||||
"compileCommands": "./compile"
|
||||
},
|
||||
{
|
||||
"name": "config",
|
||||
"includePath": [
|
||||
"${workspaceFolder}/**"
|
||||
],
|
||||
"defines": [],
|
||||
"compilerPath": "/usr/bin/gcc",
|
||||
"cStandard": "gnu17",
|
||||
"cppStandard": "gnu++17",
|
||||
"intelliSenseMode": "gcc-x64",
|
||||
"compileCommands": "./compile"
|
||||
}
|
||||
],
|
||||
"version": 4
|
||||
}
|
@ -77,7 +77,13 @@ namespace core {
|
||||
protocol(line);
|
||||
send();
|
||||
if(term)
|
||||
shutdown("termination requested");
|
||||
shutdown("termination requested");
|
||||
}
|
||||
|
||||
void TCPSession::onBlockReceived(std::string block) {
|
||||
coreutils::Log(coreutils::LOG_DEBUG_3) << "[" << block.length() << "]";
|
||||
if(term)
|
||||
shutdown("termination requested");
|
||||
}
|
||||
|
||||
void TCPSession::sendToAll() {
|
||||
|
@ -83,13 +83,6 @@ namespace core {
|
||||
|
||||
TCPServer &server;
|
||||
|
||||
///
|
||||
/// Set this value to control the next read event coming
|
||||
/// from this socket.
|
||||
///
|
||||
|
||||
// enum Mode {LINE, BLOCK};
|
||||
|
||||
protected:
|
||||
|
||||
///
|
||||
|
Loading…
x
Reference in New Issue
Block a user