Name Size Rev. Time Author Log Message
CMakeLists.txt 6.43 k 26e8c1975a28 2020-07-04 19:12:25 simphone miniupnpc 2.1
Changelog.txt 16.97 k 26e8c1975a28 2020-07-04 19:12:25 simphone miniupnpc 2.1
LICENSE 1.45 k 26e8c1975a28 2020-07-04 19:12:25 simphone miniupnpc 2.1
MANIFEST.in 150 26e8c1975a28 2020-07-04 19:12:25 simphone miniupnpc 2.1
Makefile 13 k 7c4ef855616e 2020-07-04 19:57:18 simphone merged and patched libraries to release
Makefile.mingw 3.3 k 26e8c1975a28 2020-07-04 19:12:25 simphone miniupnpc 2.1
README 1.95 k 26e8c1975a28 2020-07-04 19:12:25 simphone miniupnpc 2.1
VERSION 4 26e8c1975a28 2020-07-04 19:12:25 simphone miniupnpc 2.1
apiversions.txt 4.95 k 26e8c1975a28 2020-07-04 19:12:25 simphone miniupnpc 2.1
codelength.h 1.57 k 26e8c1975a28 2020-07-04 19:12:25 simphone miniupnpc 2.1
connecthostport.c 7.02 k 7c4ef855616e 2020-07-04 19:57:18 simphone merged and patched libraries to release
connecthostport.h 643 26e8c1975a28 2020-07-04 19:12:25 simphone miniupnpc 2.1
external-ip.sh 161 26e8c1975a28 2020-07-04 19:12:25 simphone miniupnpc 2.1
igd_desc_parse.c 4.88 k 26e8c1975a28 2020-07-04 19:12:25 simphone miniupnpc 2.1
igd_desc_parse.h 1.65 k 26e8c1975a28 2020-07-04 19:12:25 simphone miniupnpc 2.1
java 26e8c1975a28 2020-07-04 19:12:25 simphone miniupnpc 2.1
listdevices.c 6.59 k 26e8c1975a28 2020-07-04 19:12:25 simphone miniupnpc 2.1
man3 26e8c1975a28 2020-07-04 19:12:25 simphone miniupnpc 2.1
mingw32make.bat 212 26e8c1975a28 2020-07-04 19:12:25 simphone miniupnpc 2.1
minihttptestserver.c 18.43 k 26e8c1975a28 2020-07-04 19:12:25 simphone miniupnpc 2.1
minisoap.c 4.07 k 7c4ef855616e 2020-07-04 19:57:18 simphone merged and patched libraries to release
minisoap.h 546 26e8c1975a28 2020-07-04 19:12:25 simphone miniupnpc 2.1
minissdpc.c 29.17 k 7c4ef855616e 2020-07-04 19:57:18 simphone merged and patched libraries to release
minissdpc.h 1.6 k 26e8c1975a28 2020-07-04 19:12:25 simphone miniupnpc 2.1
miniupnpc.c 23.33 k 7c4ef855616e 2020-07-04 19:57:18 simphone merged and patched libraries to release
miniupnpc.def 983 26e8c1975a28 2020-07-04 19:12:25 simphone miniupnpc 2.1
miniupnpc.h 5.03 k 26e8c1975a28 2020-07-04 19:12:25 simphone miniupnpc 2.1
miniupnpc_declspec.h 611 26e8c1975a28 2020-07-04 19:12:25 simphone miniupnpc 2.1
miniupnpc_socketdef.h 970 7c4ef855616e 2020-07-04 19:57:18 simphone merged and patched libraries to release
miniupnpcmodule.c 21.42 k 26e8c1975a28 2020-07-04 19:12:25 simphone miniupnpc 2.1
miniupnpcstrings.h.cmake 376 26e8c1975a28 2020-07-04 19:12:25 simphone miniupnpc 2.1
miniupnpcstrings.h.in 693 26e8c1975a28 2020-07-04 19:12:25 simphone miniupnpc 2.1
miniupnpctypes.h 610 26e8c1975a28 2020-07-04 19:12:25 simphone miniupnpc 2.1
miniwget.c 21.05 k 7c4ef855616e 2020-07-04 19:57:18 simphone merged and patched libraries to release
miniwget.h 690 26e8c1975a28 2020-07-04 19:12:25 simphone miniupnpc 2.1
miniwget_private.h 452 26e8c1975a28 2020-07-04 19:12:25 simphone miniupnpc 2.1
minixml.c 7.7 k 26e8c1975a28 2020-07-04 19:12:25 simphone miniupnpc 2.1
minixml.h 1.18 k 26e8c1975a28 2020-07-04 19:12:25 simphone miniupnpc 2.1
minixmlvalid.c 3.9 k 26e8c1975a28 2020-07-04 19:12:25 simphone miniupnpc 2.1
msvc 26e8c1975a28 2020-07-04 19:12:25 simphone miniupnpc 2.1
portlistingparse.c 4.22 k 26e8c1975a28 2020-07-04 19:12:25 simphone miniupnpc 2.1
portlistingparse.h 1.83 k 26e8c1975a28 2020-07-04 19:12:25 simphone miniupnpc 2.1
printflog.h 475 7c4ef855616e 2020-07-04 19:57:18 simphone merged and patched libraries to release
pymoduletest.py 2.72 k 26e8c1975a28 2020-07-04 19:12:25 simphone miniupnpc 2.1
receivedata.c 3.01 k 26e8c1975a28 2020-07-04 19:12:25 simphone miniupnpc 2.1
receivedata.h 749 26e8c1975a28 2020-07-04 19:12:25 simphone miniupnpc 2.1
setup.py 1.08 k 26e8c1975a28 2020-07-04 19:12:25 simphone miniupnpc 2.1
setupmingw32.py 1012 26e8c1975a28 2020-07-04 19:12:25 simphone miniupnpc 2.1
testdesc 26e8c1975a28 2020-07-04 19:12:25 simphone miniupnpc 2.1
testigddescparse.c 5.15 k 26e8c1975a28 2020-07-04 19:12:25 simphone miniupnpc 2.1
testminiwget.c 1.65 k 26e8c1975a28 2020-07-04 19:12:25 simphone miniupnpc 2.1
testminiwget.sh 2.47 k 26e8c1975a28 2020-07-04 19:12:25 simphone miniupnpc 2.1
testminixml.c 1.99 k 26e8c1975a28 2020-07-04 19:12:25 simphone miniupnpc 2.1
testportlistingparse.c 5.18 k 26e8c1975a28 2020-07-04 19:12:25 simphone miniupnpc 2.1
testreplyparse 26e8c1975a28 2020-07-04 19:12:25 simphone miniupnpc 2.1
testupnpigd.py 2.43 k 26e8c1975a28 2020-07-04 19:12:25 simphone miniupnpc 2.1
testupnpreplyparse.c 2.82 k 26e8c1975a28 2020-07-04 19:12:25 simphone miniupnpc 2.1
testupnpreplyparse.sh 208 26e8c1975a28 2020-07-04 19:12:25 simphone miniupnpc 2.1
updateminiupnpcstrings.sh 1.45 k 26e8c1975a28 2020-07-04 19:12:25 simphone miniupnpc 2.1
upnpc.c 31.76 k 26e8c1975a28 2020-07-04 19:12:25 simphone miniupnpc 2.1
upnpcommands.c 38.41 k 26e8c1975a28 2020-07-04 19:12:25 simphone miniupnpc 2.1
upnpcommands.h 13.8 k 26e8c1975a28 2020-07-04 19:12:25 simphone miniupnpc 2.1
upnpdev.c 599 26e8c1975a28 2020-07-04 19:12:25 simphone miniupnpc 2.1
upnpdev.h 743 26e8c1975a28 2020-07-04 19:12:25 simphone miniupnpc 2.1
upnperrors.c 2.53 k 26e8c1975a28 2020-07-04 19:12:25 simphone miniupnpc 2.1
upnperrors.h 624 26e8c1975a28 2020-07-04 19:12:25 simphone miniupnpc 2.1
upnpreplyparse.c 4.86 k 26e8c1975a28 2020-07-04 19:12:25 simphone miniupnpc 2.1
upnpreplyparse.h 1.36 k 26e8c1975a28 2020-07-04 19:12:25 simphone miniupnpc 2.1
wingenminiupnpcstrings.c 2.97 k 26e8c1975a28 2020-07-04 19:12:25 simphone miniupnpc 2.1

README

Project: miniupnp
Project web page: http://miniupnp.free.fr/ or https://miniupnp.tuxfamily.org/
github: https://github.com/miniupnp/miniupnp
Author: Thomas Bernard
Copyright (c) 2005-2017 Thomas Bernard
This software is subject to the conditions detailed in the
LICENSE file provided within this distribution.


* miniUPnP Client - miniUPnPc *

To compile, simply run 'gmake' (could be 'make' on your system).
Under win32, to compile with MinGW, type "mingw32make.bat".
MS Visual C solution and project files are supplied in the msvc/ subdirectory.

The compilation is known to work under linux, FreeBSD,
OpenBSD, MacOS X, AmigaOS and cygwin.
The official AmigaOS4.1 SDK was used for AmigaOS4 and GeekGadgets for AmigaOS3.
upx (http://upx.sourceforge.net) is used to compress the win32 .exe files.

To install the library and headers on the system use :
> su
> make install
> exit

alternatively, to install into a specific location, use :
> INSTALLPREFIX=/usr/local make install

upnpc.c is a sample client using the libminiupnpc.
To use the libminiupnpc in your application, link it with
libminiupnpc.a (or .so) and use the following functions found in miniupnpc.h,
upnpcommands.h and miniwget.h :
- upnpDiscover()
- UPNP_GetValidIGD()
- miniwget()
- parserootdesc()
- GetUPNPUrls()
- UPNP_* (calling UPNP methods)

Note : use #include <miniupnpc/miniupnpc.h> etc... for the includes
and -lminiupnpc for the link

Discovery process is speeded up when MiniSSDPd is running on the machine.


* Python module *

you can build a python module with 'make pythonmodule'
and install it with 'make installpythonmodule'.
setup.py (and setupmingw32.py) are included in the distribution.


Feel free to contact me if you have any problem :
e-mail : miniupnp@free.fr

If you are using libminiupnpc in your application, please
send me an email !

For any question, you can use the web forum :
https://miniupnp.tuxfamily.org/forum/

Bugs should be reported on github :
https://github.com/miniupnp/miniupnp/issues
Show on old repository browser