From 6e8762b30a17b515deb74c62a3a98db4206d363e Mon Sep 17 00:00:00 2001 From: saneki Date: Fri, 27 Feb 2015 11:58:00 -0600 Subject: Allow for specifying the port range to use in Tox_Options --- toxcore/network.h | 1 + 1 file changed, 1 insertion(+) (limited to 'toxcore/network.h') diff --git a/toxcore/network.h b/toxcore/network.h index 15e1c0a4..0e7e5948 100644 --- a/toxcore/network.h +++ b/toxcore/network.h @@ -364,6 +364,7 @@ void networking_poll(Networking_Core *net); * return NULL if there are problems. */ Networking_Core *new_networking(IP ip, uint16_t port); +Networking_Core *new_networking_ex(IP ip, uint16_t port_from, uint16_t port_to); /* Function to cleanup networking stuff (doesn't do much right now). */ void kill_networking(Networking_Core *net); -- cgit v1.2.3