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

Possible error in the documentation #30

Open
Introvertigo opened this issue Aug 2, 2023 · 1 comment
Open

Possible error in the documentation #30

Introvertigo opened this issue Aug 2, 2023 · 1 comment

Comments

@Introvertigo
Copy link

Introvertigo commented Aug 2, 2023

The example for the sendMessageToConnection function given in the documentation is:

local result = Steam.networkingSockets.sendMessageToConnection(connection, "Ping", Steam.networkingSockets.flags.Reliable)

Shouldnt the flag key be Send_Reliable instead of just Reliable ?

https://luasteam.readthedocs.io/en/stable/networking_sockets.html#networkingSockets.sendMessageToConnection

@zorfmorf
Copy link
Contributor

zorfmorf commented Oct 9, 2023

Yes, the example seems wrong. I will get it fixed. I think in this case it will still default to reliable anyway though.

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