Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to get messge from server to client? #50

Closed
red-gezi opened this issue Nov 15, 2019 · 4 comments
Closed

how to get messge from server to client? #50

red-gezi opened this issue Nov 15, 2019 · 4 comments
Labels
question Marks an issue as a question rather than a problem with the lib.

Comments

@red-gezi
Copy link

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

@red-gezi
Copy link
Author

YH2Z B6~DSQR$74519V2`K

@Toemsel
Copy link
Owner

Toemsel commented Nov 16, 2019

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

@Toemsel
Copy link
Owner

Toemsel commented Nov 16, 2019

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

@Toemsel Toemsel added the question Marks an issue as a question rather than a problem with the lib. label Nov 16, 2019
@Toemsel Toemsel closed this as completed Nov 16, 2019
@red-gezi
Copy link
Author

Thanks very much

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Marks an issue as a question rather than a problem with the lib.
Projects
None yet
Development

No branches or pull requests

2 participants