Wire up PortMapper in Android
Enables UPnP port mapping for Android client on networks with UPnP routers
This commit is contained in:
parent
b9e1d53d7a
commit
bcf697cc2b
5 changed files with 89 additions and 20 deletions
|
@ -26,6 +26,12 @@
|
|||
#define UPNP_VERSION_STRING "UPnP/1.1"
|
||||
#endif
|
||||
|
||||
#ifdef __ANDROID__
|
||||
#define OS_STRING "Android"
|
||||
#define MINIUPNPC_VERSION_STRING "2.0"
|
||||
#define UPNP_VERSION_STRING "UPnP/1.1"
|
||||
#endif
|
||||
|
||||
/* only for malloc */
|
||||
#include <stdlib.h>
|
||||
|
||||
|
|
|
@ -55,6 +55,12 @@
|
|||
#define UPNP_VERSION_STRING "UPnP/1.1"
|
||||
#endif
|
||||
|
||||
#ifdef __ANDROID__
|
||||
#define OS_STRING "Android"
|
||||
#define MINIUPNPC_VERSION_STRING "2.0"
|
||||
#define UPNP_VERSION_STRING "UPnP/1.1"
|
||||
#endif
|
||||
|
||||
#include "miniwget.h"
|
||||
#include "connecthostport.h"
|
||||
#include "receivedata.h"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue