MCPcopy Create free account
hub / github.com/alibaba/PhotonLibOS / new_tcp_socket_server

Function new_tcp_socket_server

net/kernel_socket.cpp:998–1000  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

996 return new KernelSocketClient(bind_ip, bind_ip_n);
997}
998extern "C" ISocketServer* new_tcp_socket_server() {
999 return NewObj<KernelSocketServer>()->init();
1000}
1001extern "C" ISocketClient* new_uds_client() {
1002 return new KernelSocketClient();
1003}

Callers 15

TESTFunction · 0.85
TESTFunction · 0.85
TESTFunction · 0.85
TESTFunction · 0.85
TESTFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
TESTFunction · 0.85
mainFunction · 0.85
runMethod · 0.85

Calls 1

initMethod · 0.45

Tested by 15

TESTFunction · 0.68
TESTFunction · 0.68
TESTFunction · 0.68
TESTFunction · 0.68
TESTFunction · 0.68
mainFunction · 0.68
mainFunction · 0.68
mainFunction · 0.68
TESTFunction · 0.68
mainFunction · 0.68
runMethod · 0.68
tcp_serverFunction · 0.68