mirror of
https://github.com/moonlight-stream/Internet-Hosting-Tool.git
synced 2025-07-01 07:15:32 +00:00
Update libnatpmp to 4536032ae32268a45c073a4d5e91bbab4534773a
Rebuild as a DLL to prevent MSVC version compatibility issues
This commit is contained in:
parent
38514d08c1
commit
88fb77083f
@ -51,6 +51,13 @@ typedef unsigned short uint16_t;
|
||||
#endif /* _WIN32 */
|
||||
#include "natpmp_declspec.h"
|
||||
|
||||
/* Set to 9 by https://tools.ietf.org/html/rfc6886#section-3.1 which leads to a
|
||||
* maximum timeout of 127.75 seconds, due to the initial 250 ms timeout doubling
|
||||
* each time, so we allow a compile-time modification here.*/
|
||||
#ifndef NATPMP_MAX_RETRIES
|
||||
#define NATPMP_MAX_RETRIES (9)
|
||||
#endif
|
||||
|
||||
typedef struct {
|
||||
int s; /* socket */
|
||||
in_addr_t gateway; /* default gateway (IPv4) */
|
||||
|
BIN
libs/x86/Debug/libnatpmp.dll
Normal file
BIN
libs/x86/Debug/libnatpmp.dll
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
libs/x86/Release/libnatpmp.dll
Normal file
BIN
libs/x86/Release/libnatpmp.dll
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user