Toemsel/Network

how to get messge from server to client?

red-gezi opened this issue · 4 comments

when i send a message it will trigger InvokePacketThreadException,what should i do?

Could you please provide a minimalistic project setup and share it online? Then I would be able to debug into the issue. Thanks

Working example project:

I did build an example project for your special case.

image

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.

image

The connection's result will be stored within the out parameter you provide.

image

Thanks very much