MCPcopy Create free account
hub / github.com/Tencent/TAD_Sim / GetLocalServiceBindAddress

Function GetLocalServiceBindAddress

simcore/framework/src/utils/os.cc:54–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52
53
54const std::string GetLocalServiceBindAddress() {
55#ifdef __linux__
56 return "ipc://" + GetHomeDir() + "/tadsim-service.sock";
57#endif // __linux__
58#ifdef _WIN32
59 return "tcp://127.0.0.1:8401";
60#endif // _WIN32
61}
62
63
64#ifdef _WIN32

Callers 4

mainFunction · 0.50
ServeMethod · 0.50
play_service.ccFile · 0.50
RootCmdMethod · 0.50

Calls 1

GetHomeDirFunction · 0.70

Tested by 1

mainFunction · 0.40