Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Catalog · How the catalog works

Random project

GameNetworkingSockets4delphi

A dynamic Delphi wrapper for Valve's Open-Source GameNetworkingSockets library. This wrapper allows you to use the C++ Flat API in Delphi x64 projects without static linking issues.

View on GitHub

Anyone may press Interesting, signed in or not. It helps others find this project.

Member rating

No ratings yet.

Sign in to rate this project.

README

GameNetworkingSockets4delphi v0.1

A dynamic Delphi wrapper for Valve's Open-Source GameNetworkingSockets library. This wrapper allows you to use the C++ Flat API in Delphi x64 projects without static linking issues.

Features

pascal
Fully dynamic loading (no crashes if a function is missing in the DLL)
Automatic fallback for C++ name mangling (e.g., @4 decorators)
Implements the v009 Interface for Sockets and Utils
Ready to use UI example for Server/Client testing

Usage

pascal
Put all 4 dlls  in your executable folder.
Add GameNetworkingSockets.pas to your project uses clause.
Call LoadGameNetworkingSocketsDLL to load the library dynamically.
Initialize the system with GameNetworkingSockets_Init(nil, @ErrMsg).
Grab the interface via SteamAPI_SteamNetworkingSockets_v009.

Check out Unit1.pas for a complete working example of a Server listening, a Client connecting, sending messages, and checking the ping.
Matching fresh 28.9.2026 64 bit dlls included