MCPcopy Create free account
hub / github.com/Windscribe/Desktop-App / closeAllTcpConnections

Function closeAllTcpConnections

src/helper/windows/process_command.cpp:584–596  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

582}
583
584std::string closeAllTcpConnections(const std::string &pars)
585{
586 bool isKeepLocalSockets;
587 deserializePars(pars, isKeepLocalSockets);
588
589 spdlog::debug("closeAllTcpConnections, KeepLocalSockets = {}", isKeepLocalSockets);
590 if (g_SplitTunnelingPars.isEnabled && g_SplitTunnelingPars.isVpnConnected) {
591 CloseTcpConnections::closeAllTcpConnections(isKeepLocalSockets, g_SplitTunnelingPars.isExclude, g_SplitTunnelingPars.apps);
592 } else {
593 CloseTcpConnections::closeAllTcpConnections(isKeepLocalSockets);
594 }
595 return std::string();
596}
597
598std::string getProcessesList(const std::string &pars)
599{

Callers 1

updateStateMethod · 0.85

Calls 1

deserializeParsFunction · 0.85

Tested by

no test coverage detected