DOWNLOAD DLL HERE

Make sure to read the README, as it has some licence requirements. The licence requirements aren't mine, but I have to include them since I'm mostly using someone else's code (the licence permits it).

So what does it do? It lets you use UPnP to have your game automatically set up port-forwarding for you. Most routers support it, but not all, so you should still include documentation in your app to instruct those who want to host and will have to do port-forwarding manually.

Opening and closing ports takes about a second. Since this isn't an engine function, there should be nothing wrong with calling the functions in a separate thread to avoid interrupting game flow.

I'm going to try and do that in the next version of KarBOOM.
EDIT2: Threading with UPnP works like a charm.

Anyway, have fun laugh

Jibb

EDIT: Should this be here or in Lite-C Contributions? This forum seems to apply to non-code assets.

EDIT2: Same link, updated version that should eliminate the need for "msvcr100.dll".

EDIT3: msvcr100.dll is included.

Last edited by JulzMighty; 02/28/11 21:20.

Formerly known as JulzMighty.
I made KarBOOM!