-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Fyhr edited this page Jun 6, 2011
·
2 revisions
The following is the specification of the Hydra Protocol for version 1. Connections with Hydra are done over TCP/IP, with a small and simple header. How individual plugins handle the communication once connection has been established, is none of Hydras concern.
Offset | Datatype | Name | Description |
---|---|---|---|
0x00 | int64 | Protocol version | Specifies which version of the protocol to be used. |
0x08 | int32 | PluginID length | The length in bytes that the plugin ID string take up. |
0x0C | String | PluginID | The plugin ID as a UTF-8 encoded string, the length is specified in the previous integer. |
0x0C + PluginID length | int64 | InstanceID | Optional: If specified hydra will connect to an existing plugin instance, instead of instanciating a new. |