Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Lazarus rewrite of Packet  (Read 2868 times)

0 Members and 1 Guest are viewing this topic.

FRex

  • Hero Member
  • *****
  • Posts: 1848
  • Back to C++ gamedev with SFML in May 2023
    • View Profile
    • Email
Lazarus rewrite of Packet
« on: November 02, 2013, 05:05:17 am »
I've rewritten(not bound) sf::Packet in Free Pascal for my own use, just with UTF-8 strings though, no wide or UTF32 ones. It's a bit less pretty and has read and write based on C API and might contain bugs since I'm (re)learning 'Delphi compatible Object Pascal' after knowing small bits of Delphi long ago.
Here's the unit: https://gist.github.com/FRex/7275301
Here are screens of example Lazarus app that sends over TCP to a c++ command line app that will just print and then echo back a thanks to Lazarus side:
http://oi39.tinypic.com/34ns6px.jpg
http://oi39.tinypic.com/2ivz442.jpg
Back to C++ gamedev with SFML in May 2023

 

anything