1
0
mirror of https://github.com/solemnwarning/directplay-lite synced 2024-12-30 16:45:37 +01:00

8 Commits

Author SHA1 Message Date
Daniel Collins
c63945facd Initial prototype of network I/O and session enumeration.
The threading model used for processing messages here will need
redesigning; we can't allow the application to block the event loop
when processing a message in case it calls something which won't
return until a message is processed.

Final model will probably use a pool of workers which will handle I/O
one-at-a-time, blocking and allowing other threads to deal with the
I/O when in the application message callback.
2018-09-11 22:09:27 +01:00
Daniel Collins
286c86ea46 Implement serialising of GUIDs in packets. 2018-09-11 21:53:27 +01:00
Daniel Collins
971119edae Implement low-level packet (de)serialisation code.
The protocol is going to use TLV messages, containing zero or more
fields represented using the same TLV header. Functions for
(de)serialising DirectPlay message structures will be built on top of
these classes.
2018-09-02 13:02:20 +01:00
Daniel Collins
c865ecb1f7 Disable IDirectPlay8Address::GetURLX() tests.
Not implementing these methods yet.
2018-09-02 13:01:02 +01:00
Daniel Collins
d2092b8641 Added tests for DirectPlay8Address::GetURL[AW]() and component ordering. 2018-08-29 00:25:25 +01:00
Daniel Collins
5550c78658 More DirectPlay8Address tests, "fix" GetUserData() behaviour 2018-08-28 23:20:29 +01:00
Daniel Collins
45a9f1b268 More DirectPlay8Address tests, fixed ANSI string components. 2018-08-28 22:34:56 +01:00
Daniel Collins
1564ddf309 Initial DirectPlay8Address unit tests and fixes. 2018-08-28 16:09:13 +01:00