I'm trying to use this method here: https://github.com/godotengine/godot/blob/master/modules/enet/networked_multiplayer_enet.cpp#L403
but I get error expected 1 arguments.
What is happening is that you are probably calling the "PacketPeer" class method instead of the "put_packet()" virtual method of the "NetworkedMultiplayerENet" class.
I realize that the method is not being called here:
I do not know if he should or should not, because if he should, I do not understand why he is not then.
Steps to reproduce:
Create a project with the script below on a node and run:
const SERVER_IP = "127.0.0.1"
const SERVER_PORT = 1510
var socketUDP = NetworkedMultiplayerENet.new()
var stg = "hello"
var pac = stg.to_utf8()