A few weeks passed, and I sat down for some hacking. Here is oculusd version 0.18:
- the command function prototype has changed; it now also takes a struct connection pointer. This way, the command handler knows a little of the client connected.
- The ‘alarm’ plugin changed its ever-changing id to a unique id (uid), consisting of the client’s IP address and an UID that can be set by the client. This way, you can prevent the setting of multiple alarms.
0 reacties