Trying to send the last message

Options
Im trying to send a reliable message with an error of operation from server, then i trigger peer disconnect(). Client dont recieve an error message and connection was lost with status manager disconnect. What problem this could possible be?

Comments

  • chvetsov
    Options
    hi, @Stivven

    you just should not call Disconnect right after sending message. Do it in 3 seconds. Or find your own interval

    best,
    ilya
  • Stivven
    Options
    Thank you. I did almost the same.