MYTH PROTO VERSION (Myth Protocol)

From MythTV Official Wiki
Revision as of 14:18, 4 November 2010 by Wagnerrp (talk | contribs) (remove telnet references)

Jump to: navigation, search

MYTH_PROTO_VERSION

Arguments

Command arguments: <client protocol version> <client protocol token>

List arguments: none

Examples

Command:

30      MYTH_PROTO_VERSION 62 78B5631E

Response:

13      ACCEPT[]:[]62

Description

If the version number given matches the protocol version number spoken by the server, the command will succeed. Otherwise, the command will fail. This should always be the first command sent by a client when it connects to insure that it will be understood by the server. The token is a simple randomly generated string, to ensure the client has been updated to support the version it claims to use.

Returns

Successful response:

ACCEPT[]:[]<server protocol version>

Unsuccessful response:

REJECT[]:[]<server protocol version>

Changelog

version changeset description
1 [3021] initial version
62 [26280] added protocol token