Home | Downloads | Compatibility list | libnatpmp | xchat upnp patch | Forum
If you need to open active DCC connections with xchat behind your UPnP enabled gateway, you can use this patch to add UPnP support in xchat.
The patch has been tested under linux with xchat-2.6.6. To compile
a patched xchat, first
make sure the latest version of the miniupnp client library is installed
on your system. You should have the header files in /usr/include/miniupnpc
and the library available as /usr/lib/libminiupnpc.a.
Then get
xchat-2.6.6 sources and unpack somewhere.
cd xchat-2.6.6/
If nothing goes wrong, you can launch xchat from a terminal. The
upnp code is printing some informations to the standard output. If you just
compiled xchat, the binary is xchat-2.6.6/src/fe-gtk/xchat. You can
now connect to your favorite network and offer a DCC chat session to
you friends !
patch -p1 < ../xchat-upnp.patch
./configure
make
Don't expect this patch to be perfect but if you run into problems, share them with me and I'll see what I can do for you ! Also the patch have only been tested by me with xchat 2.6.6 under linux but it may work for you with a different version of xchat or/and another OS. Tell me !
Thomas Bernard
contact me by email : miniupnp _AT_ free _DOT_ fr