Sends queued outgoing packets, receives incoming packets, and handles connection events.
True if an event occured, otherwise false.
Exception Type | Condition |
---|---|
ArgumentOutOfRangeException | timeout is negative. |
InvalidOperationException | The host is not initialized. |
ENetException | An error occured. |