Hi,
I'm in the process of creating a proof of concept Minecraft server using D and Vibe.D.
I need to be able to associate one piece of metadata to each TCPConnection being used (in this case, PacketType - An enumeration containing STATUS, LOGIN, HANDSHAKE, and GAME).
Is there any way to do this in Vibe.D itself? I couldn't find how to do it.
I also tried using an associative array of PacketTypes, using TCPConnection as the key. That didn't work - It always returned that the first entry was the incoming connection, even when it wasn't.
Sorry if this is a dumb question, but it has me stumped.
~Cruz