For starters, here is what I found at the moment, assuming the generic sample found at the DarkNET sample directory,
C:\Program Files\The Game Creators\Dark Basic Professional Online\Projects\DarkNet\Demos\Cube World
so I tried to run a server on windows and tried connecting to it using my own apps on linux and see what I'm receiving as a client that doesn't know anything about DarkNet:
1d 00 00 00 32 00 00 00 01 00 00 00 01 01 00 00 00 12 3e 00 00 49 1a 00 00 32 5f 00 00 f6 3b 00 00
according to the bytes i recvd from the server side that runs on darknet, the first 4 bytes, is indeed the unsigned integer which is the size of the succeeding packets,
the following data was indeed 29 bytes, so that is good, my problem is, what does the remaining bytes represent?
i.e.:
32 00 00 00 01 00 00 00 01 01 00 00 00 12 3e 00 00 49 1a 00 00 32 5f 00 00 f6 3b 00 00
the next 13 bytes seems consistent, the next 16 changes each time I try to connect.
So far that's what I know, but i'd be glad if someone would point me to the documentation than try to reverse engineer the handshaking process.
The objective is simple, I'd like to run the server on a linux backend which doesn't know anything about darknet, then the clients would connect using a darknet enabled program. If I could marry a linux server with a windows client, i'll be very very happy ^__^
Thanks in advance ^_^
---
http://www.yaten.me