MCPcopy Create free account
hub / github.com/ReversecLabs/C3 / ClientSocket

Method ClientSocket

Src/Common/FSecure/Sockets/Socket.cpp:153–157  ·  view source on GitHub ↗

///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

Source from the content-addressed store, hash-verified

151
152////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
153FSecure::ClientSocket::ClientSocket(std::string_view addr, uint16_t port)
154 : m_Socket{ AddrInfo{ addr, std::to_string(port).c_str() } }
155{
156 m_Socket.Connect(addr, port);
157}
158
159////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
160FSecure::ServerSocket::ServerSocket(std::string_view addr, uint16_t port)

Callers

nothing calls this directly

Calls 2

to_stringFunction · 0.50
ConnectMethod · 0.45

Tested by

no test coverage detected