Ticket #1 (closed defect: fixed)
ASIO does not run callbacks if run or poll are called too early
| Reported by: | ewencp | Owned by: | PatrickHorn |
|---|---|---|---|
| Priority: | minor | Milestone: | |
| Component: | LibCore Utilities | Keywords: | asio |
| Cc: |
Description
Calling Network::IOServiceFactory::pollService(ioServ) between ObjectHost? init and creating the first network connection causes IOService to fail permanently.
The boost documentation mentions needing to call a "reset" function if there is nothing in the queue to be sent, possibly due to quirks with the select function having nothing to select on, but is there a better way, such as always having at least one event there?
Change History
Note: See
TracTickets for help on using
tickets.
