Here's a simple example of what I'm trying to do:
http://pastebin.com/7NfSwFwE
Basically reconnect if the connect fails. This triggers a debug assertion: m_state == CREATED
I'm guessing I'm not allowed to start a new task here? If so, why, and how should I trigger a reconnect?
http://pastebin.com/7NfSwFwE
Basically reconnect if the connect fails. This triggers a debug assertion: m_state == CREATED
I'm guessing I'm not allowed to start a new task here? If so, why, and how should I trigger a reconnect?