AdoptResult.OK on success, or an error variant.
Ownership transfer: on success, EVE takes ownership of clientHandle; the caller must not close the OS handle directly. On failure, ownership remains with the caller.
Adopt an already-accepted client socket.
loop | Event loop to register with. |
clientHandle | Socket handle from accept. |
AdoptResult.OK on success, or an error variant.
Ownership transfer: on success, EVE takes ownership of clientHandle; the caller must not close the OS handle directly. On failure, ownership remains with the caller.