0 votes

Hi. I am coding the procedure of TCP Connection of Node JS. I imported "net" module, I created the server, make it listen a proper port. I assigned "connection", "timeout" and "data" event to the Net.Socket I captured, If timeout event emitted, the Socket.end() is called. But weird thing is, when I call end(), and Godot cannot put data to the server, Godot still return STATUS_CONNECTED when I call StreamPeerTCP.get_status(). Am I missing something? I wanted to write the code but it is so long.

Edit: I am using NodeJS as server and Godot 3.1 as Client.

in Engine by (27 points)

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.