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

(Example Advanced TCP) Client receives buffer length (42), which does not match the type #40

Closed
cloudchentrial opened this issue Mar 19, 2023 · 2 comments

Comments

@cloudchentrial
Copy link

cloudchentrial commented Mar 19, 2023

Temporal solution => Code get_u32() before get_u16(), and simply code get_string() without argument.
Not sure whether it is the alternative.

Pro_Receive_buffer_length

@cloudchentrial cloudchentrial changed the title (Advanced TCP) Client receive buffer length (42), which does not exist in client type (Advanced TCP) Client receives buffer length (42), which does not match the type Mar 19, 2023
@cloudchentrial cloudchentrial changed the title (Advanced TCP) Client receives buffer length (42), which does not match the type (Example Advanced TCP) Client receives buffer length (42), which does not match the type Mar 19, 2023
@Tilican
Copy link

Tilican commented Mar 20, 2023

Hey @tylerchentrial
It's possible to know the Godot version ?
Thx :D

@cloudchentrial
Copy link
Author

cloudchentrial commented Mar 21, 2023

Thank you for the feedback :), it is Godot Engine 4.0, I know there are some differences between 3 and 4. In addition, I have tried TCP basic-SSL, and got error 1 when connect_to_stream(). The client-side's x509.cert is the same as the node server's x509.cert(Not sure whether it is the right way to access TLS cert). I am new to the network coding field. Privately change the code as the following picture
Pro_Basic_TLS_error_2
And, I get error 1 not sure why is it.
Pro_Basic_TLS_error_1

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