Ton of uPnP work and adding NAT-PMP support, still testing...

This commit is contained in:
Adam Ierymenko 2015-11-30 13:10:22 -08:00
commit 6768521330
36 changed files with 3703 additions and 245 deletions

View file

@ -24,8 +24,6 @@
#define OS_STRING "Win32"
#define MINIUPNPC_VERSION_STRING "1.9"
#define UPNP_VERSION_STRING "UPnP/1.1"
#else
#include "miniupnpcstrings.h"
#endif
/* only for malloc */
@ -126,5 +124,3 @@ int soapPostSubmit(int fd,
#endif
return httpWrite(fd, body, bodysize, headerbuf, headerssize);
}

View file

@ -54,8 +54,6 @@
#define OS_STRING "Win32"
#define MINIUPNPC_VERSION_STRING "1.9"
#define UPNP_VERSION_STRING "UPnP/1.1"
#else
#include "miniupnpcstrings.h"
#endif
#include "miniwget.h"
#include "connecthostport.h"
@ -630,4 +628,3 @@ miniwget_getaddr(const char * url, int * size,
#endif
return miniwget2(hostname, port, path, size, addr, addrlen, scope_id);
}