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...