From 726ff6bc6d0f596b8ff067f5ac10708d385767d3 Mon Sep 17 00:00:00 2001 From: Lee Salzman Date: Wed, 20 Mar 2013 00:43:34 +0200 Subject: query the socket name if an explicit address binding is requested on host creation --- include/enet/enet.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/enet/enet.h b/include/enet/enet.h index 5f9d540..c0e6025 100644 --- a/include/enet/enet.h +++ b/include/enet/enet.h @@ -471,6 +471,7 @@ ENET_API void enet_time_set (enet_uint32); */ ENET_API ENetSocket enet_socket_create (ENetSocketType); ENET_API int enet_socket_bind (ENetSocket, const ENetAddress *); +ENET_API int enet_socket_get_address (ENetSocket, ENetAddress *); ENET_API int enet_socket_listen (ENetSocket, int); ENET_API ENetSocket enet_socket_accept (ENetSocket, ENetAddress *); ENET_API int enet_socket_connect (ENetSocket, const ENetAddress *); -- cgit v1.2.3