PDA

View Full Version : Does anybody have a RakNet wrapper (or...?) for Delphi?



sofakng
29-05-2007, 09:48 PM
I'm looking for a fully featured networking library that I can use with Delphi.

The main thing I want is distributed objects (eg. objects will be automatically synchronized between clients with built-in interpolation).

I've heard of ENet and HawkNL but I'm not sure they provide the same functionality of RakNet.

I'd really like to use RakNet (only because it seems to support everything possible), but I'd definitely use something else if it was just as good.

Thanks,
John

Setharian
30-05-2007, 03:41 PM
from the looks of it RakNet is based on C++ classes and I fear it is uninterfaceable from any other language...the functions exported from the compiled dll are mangled in the typical C++ way and there's no easy way how to interface with them (put simply it's as hard as trying to link a C/C++ app with Delphi's package when not built with C++ Builder)....not to mention you would need to make stubs in assembly to call them since they are using "thiscall" calling convention which has no equivalent in Delphi....the only way is to rewrite the whole thing in Delphi...

JernejL
30-05-2007, 04:03 PM
search please, there IS a raknet delphi port / wrapper:

http://www.pascalgamedevelopment.com/viewtopic.php?t=4138&highlight=raknet

Robert Kosek
30-05-2007, 04:15 PM
search please, there IS a raknet delphi port / wrapper:

http://www.pascalgamedevelopment.com/viewtopic.php?t=4138&highlight=raknetExcept considering that the site isn't there anymore? How about you verify your links before flaming someone for not searching? :P Makes you look smarter.

JernejL
30-05-2007, 05:21 PM
in that case, one could ask the author where the website had gone..