| 1005 | } |
| 1006 | |
| 1007 | SC::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 | |
| 1014 | SC::Result SC::AsyncEventLoop::associateExternallyCreatedSocketHandle(SocketDescriptor::Handle handle) |
| 1015 | { |