Godot::ENetConnection
Inherits Godot::RefCounted < Godot::Object < Reference < Object
Constructors
new(pointer : Pointer(Void) = Pointer(Void).null)
SourceInstance methods
bandwidth_limit(in_bandwidth : Int64, out_bandwidth : Int64) : Void
Sourcebroadcast(channel : Int64, packet : Pointer(Void), flags : Int64) : Void
Sourcechannel_limit(limit : Int64) : Void
Sourcecompress(mode : Int64) : Void
Sourceconnect_to_host(address : String, port : Int64, channels : Int64, data : Int64) : ENetPacketPeer
Sourcecreate_host(max_peers : Int64, max_channels : Int64, in_bandwidth : Int64, out_bandwidth : Int64) : Int64
Sourcecreate_host_bound(bind_address : String, bind_port : Int64, max_peers : Int64, max_channels : Int64, in_bandwidth : Int64, out_bandwidth : Int64) : Int64
Sourcedtls_client_setup(hostname : String, client_options : TLSOptions) : Int64
Sourcedtls_server_setup(server_options : TLSOptions) : Int64
Sourceflush
Sourceget_local_port
Sourceget_max_channels
Sourceget_peers
Sourcepop_statistic(statistic : Int64) : Float64
Sourcerefuse_new_connections(refuse : Bool) : Void
Sourceservice(timeout : Int64) : Godot::Array
Sourcesocket_send(destination_address : String, destination_port : Int64, packet : Pointer(Void)) : Void
Source