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

Handshake Attempt Event #129

Open
teremyx opened this issue Aug 14, 2019 · 0 comments
Open

Handshake Attempt Event #129

teremyx opened this issue Aug 14, 2019 · 0 comments

Comments

@teremyx
Copy link

teremyx commented Aug 14, 2019

Hello.
I am working on the GUI for my networked application and when the client tries to connect I get the NetConnectionStatus.InitiatedConnect in the StatusChange-Message.
When the client is not able to connect immediately it will try 5 more handshake attempts and I want to show the user of my app that it is doing this.
After the StatusChange I only get 5 ErrorMessages, that it failed to send a packet.
I want to show the user: Trying to connect...
And then something like "Trying to connect(1)", "Trying to connect(2)", "Trying to connect(3)"...

But I can't seem to access any information that the client is resending the handshake attempt/trying to connect again.
I think a StatusChange-Message would be nice or some other kind of event.
Any ideas on how to achieve this behaviour? Do I have to extend lidgren network for this or can this be achieved with the current version?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant