MCPcopy Create free account
hub / github.com/Pagghiu/SaneCppLibraries / associateExternallyCreatedSocket

Method associateExternallyCreatedSocket

Libraries/Async/Async.cpp:1007–1012  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1005}
1006
1007SC::Result SC::AsyncEventLoop::associateExternallyCreatedSocket(SocketDescriptor& descriptor)
1008{
1009 SocketDescriptor::Handle handle;
1010 SC_TRY(descriptor.get(handle, Result::Error("Invalid handle")));
1011 return associateExternallyCreatedSocketHandle(handle);
1012}
1013
1014SC::Result SC::AsyncEventLoop::associateExternallyCreatedSocketHandle(SocketDescriptor::Handle handle)
1015{

Callers 3

createTCPSocketPairMethod · 0.80
createSocketPairFunction · 0.80

Calls 2

ErrorEnum · 0.50
getMethod · 0.45

Tested by 2

createTCPSocketPairMethod · 0.64