0 votes

Hi everyone,I am making some StreamPeerTCP client,but have some problems with streaming.The server is written in Python (socket library),and the usage of tcp in godot seems a bit different.Firts 12symbols in message godot sends some useless data (like this '\x1c\x00\x00\x00\x14\x00\x00\x00\x11\x00\x00\x00') - it is the size of packet,I don't need that thing,it would be perfect to send/receive just raw data,but i don't know how to do that.
I think i can achieve that by using StreamPeer class,but i don't know how to do this,can someone share the code?(GDScript)
Thanks.

Godot version 3.2.3
in Engine by (31 points)
recategorized by

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.