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

Lidgren.Network.NetException: This message has already been sent! #159

Open
Rombersoft opened this issue Jul 11, 2024 · 1 comment
Open

Comments

@Rombersoft
Copy link

Hi community! How can I send the same message many times for the same NetClient without that Exception?

@PJB3005
Copy link
Contributor

PJB3005 commented Jul 11, 2024

Sadly it's not possible to re-use messages with how the library works internally. Re-using the contents themselves is doable though as you can access them with Data, copy them somewhere else, then copy that every time you try to re-send a message.

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

2 participants