aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorLee Salzman <[email protected]>2013-03-20 00:43:34 +0200
committerLee Salzman <[email protected]>2013-03-20 00:43:34 +0200
commit726ff6bc6d0f596b8ff067f5ac10708d385767d3 (patch)
treeac1513268123d886149a40ff568f9443c424c173 /include
parenteb7126c66225d04aff084e19274e15a43db884d4 (diff)
downloadenet-726ff6bc6d0f596b8ff067f5ac10708d385767d3.tar.gz
enet-726ff6bc6d0f596b8ff067f5ac10708d385767d3.zip
query the socket name if an explicit address binding is requested on host creation
Diffstat (limited to 'include')
-rw-r--r--include/enet/enet.h1
1 files changed, 1 insertions, 0 deletions
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 *);