Removes the connection from the event loop, closing it if necessary, and cleans up the underlying resources.
Receive data from the underlying stream. To be used when EventCode.READ is received by the callback handler. IMPORTANT: This must be called until is returns a lower value than the buffer!
Send data through the underlying stream by moving it into the OS buffer.
Returns true if this connection was accepted by an AsyncUDSListener instance.
Returns false if the connection has gone.
Check this property to make sure the event loop hasn't failed
Returns a human-readable error message from the underlying operating system.