AdoptResult.OK on success, or an error variant.TcpConnection.adopt
Adopt an already-accepted client socket.
On success, EVE takes ownership of clientHandle and the caller must not close it. On failure, ownership remains with the caller.
Parameters
loop | Event loop to register with. |
clientHandle | Socket handle from accept. |