MCPcopy Create free account
hub / github.com/ARM-software/armnn / Accept

Function Accept

profiling/common/src/NetworkSockets.cpp:102–113  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

100
101
102arm::pipe::Socket Accept(Socket s, sockaddr* addr, socklen_t* addrlen, int flags)
103{
104#if defined(__unix__)
105 return accept4(s, addr, addrlen, flags);
106#elif defined(__APPLE__)
107 IgnoreUnused(flags);
108 return accept(s, addr, addrlen);
109#elif defined(_MSC_VER) || defined(__MINGW32__)
110 IgnoreUnused(flags);
111 return accept(s, addr, reinterpret_cast<int*>(addrlen));
112#endif
113}
114
115} // pipe
116} // arm

Callers 1

GetNewBasePipeServerMethod · 0.85

Calls 1

IgnoreUnusedFunction · 0.50

Tested by

no test coverage detected