Crate jokolink[][src]

Expand description

Jokolink allows you to request GW2 MumbleLink over udp socket instead of sharedmemory Joko link is a windows only crate. designed to primarily get the MumbleLink or the window size of the GW2 window via shared memory and expose the data through a socket. It can multiple accessing data of multiple MumbleLinks, and allows multiple clients to request the data. it is single threaded for now.

Usage:

create a new engine with Engine::create(port), it will bind to localhost at that port. and make a request via udp socket or just access the pointer directly. if a key does not exist, Jokolink will create one and store it in the map. beware of too many requests with wrong keys, as that means Joko link will keep all those shared memory segments it created, alive.

RequestFor:

requesting data from Jokolink is easy. send its udp socket a buffer of 64 bytes. the first byte should be an enum (or its u8 value) of what you want to request. the second byte should be the length of the key (utf-8) in bytes followed by the key in valid utf-8 sequence upto a maximum of 60 bytes.

Modules

engine