MCPcopy Create free account
hub / github.com/MaaXYZ/MaaFramework / MaaAgentClientCreateTcp

Function MaaAgentClientCreateTcp

source/MaaAgentClient/API/MaaAgentClient.cpp:23–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21}
22
23MaaAgentClient* MaaAgentClientCreateTcp(uint16_t port)
24{
25 LogFunc << VAR(port);
26
27 auto* client = new MAA_AGENT_CLIENT_NS::AgentClient();
28 client->create_tcp_socket(port);
29
30 return client;
31}
32
33void MaaAgentClientDestroy(MaaAgentClient* client)
34{

Callers

nothing calls this directly

Calls 1

create_tcp_socketMethod · 0.80

Tested by

no test coverage detected