summaryrefslogtreecommitdiffstats
path: root/modules/enet/enet_connection.h
diff options
context:
space:
mode:
Diffstat (limited to 'modules/enet/enet_connection.h')
-rw-r--r--modules/enet/enet_connection.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/enet/enet_connection.h b/modules/enet/enet_connection.h
index 481afc48bb..ee0cd831de 100644
--- a/modules/enet/enet_connection.h
+++ b/modules/enet/enet_connection.h
@@ -109,6 +109,7 @@ private:
public:
void broadcast(enet_uint8 p_channel, ENetPacket *p_packet);
+ void socket_send(const String &p_address, int p_port, const PackedByteArray &p_packet);
Error create_host_bound(const IPAddress &p_bind_address = IPAddress("*"), int p_port = 0, int p_max_peers = 32, int p_max_channels = 0, int p_in_bandwidth = 0, int p_out_bandwidth = 0);
Error create_host(int p_max_peers = 32, int p_max_channels = 0, int p_in_bandwidth = 0, int p_out_bandwidth = 0);
void destroy();