🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

Network libraries using to create a game in Delphi

Started by
3 comments, last by Jernej.L 5 years, 2 months ago

Hello. Please tell me which network libraries should I use to create a game in Delphi? This is a dynamic 2D action with a third person view. The library should be easy to learn and use. I am using Delphi XE7. I tried to use pasENet, but I had a big problem with using it, and I can't figure out if I caused the error, or it was a library error. For this reason, I am looking for a library that is being developed directly for Delphi.

Advertisement

I know of no currently maintained network libraries for game development in Delphi.

You can, however, call Win32 APIs, so you could use WinSock. For an action game, I'd suggest using UDP sockets on top of Win32.

enum Bool { True, False, FileNotFound };

Its been long time i used rad studio but you could search for tcpserver client components and set them to non blocking mode or use indy components, im 99,99% sure there are some udp socket components somewhere

A bit late reply, but there exist enet bindings for the dll library which are quite up to date, and there is also ENET translated to pascal here:  

https://github.com/rasberryrabbit/enet-freepascal 

 Another project called RNL library exists, which is also in native pascal and inspired by enet's design: 

https://github.com/BeRo1985/rnl 

 

Projects: Top Down City: http://mathpudding.com/

This topic is closed to new replies.

Advertisement