how to get messge from server to client?
red-gezi opened this issue · 4 comments
red-gezi commented
when i send a message it will trigger InvokePacketThreadException,what should i do?
red-gezi commented
Toemsel commented
Could you please provide a minimalistic project setup and share it online? Then I would be able to debug into the issue. Thanks
Toemsel commented
Working example project:
I did build an example project for your special case.
Example Source-Code: #50.zip
Hope that helps you to build up your application.
Why your code doesn't work as expected:
Edit: In your case, you can't use ConnectionEstablished within the client application, since that method will only be triggered if you establish a UDP connection, which isn't the case in your example project.
The connection's result will be stored within the out parameter you provide.
red-gezi commented
Thanks very much