use StreamPeerTCP in godot to implement socket connection.
you must set AutoLoad in Godot editor like this:
- add "socket" in Node Name textinput, add "res://soc.gd" in Path textinput,and then click "Add" button
- add "data" in Node Name textinput, add "res://sysData.gd" in Path textinput,and then click "Add" button