sockchat:c2s:client-info
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| sockchat:c2s:client-info [2025/04/19 23:46] – info flash | sockchat:c2s:client-info [2025/10/01 17:13] (current) – why though flash1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== C2S Packet 3: Client Info ====== | ====== C2S Packet 3: Client Info ====== | ||
| + | |||
| + | **//THIS IS A DRAFT AND SHOULD NOT YET BE IMPLEMENTED// | ||
| Informs the server about the name, version and capabilities of the client. | Informs the server about the name, version and capabilities of the client. | ||
| This packet can optionally be sent before [[sockchat: | This packet can optionally be sent before [[sockchat: | ||
| Sending this packet is optional, leaving it out will have the protocol behave as it originally did without extensions, it can also be sent with an empty capabilities field. | Sending this packet is optional, leaving it out will have the protocol behave as it originally did without extensions, it can also be sent with an empty capabilities field. | ||
| + | |||
| + | If sent and the server supports this packet, it will respond with [[sockchat: | ||
| + | If after a certain threshold the server does not respond, it should be assumed that the server does not understand the Client/ | ||
| + | The client should then continue operating as an unmodified original client by sending the authorization attempt packet mentioned earlier. | ||
| + | |||
| + | If after the timeout or after receiving the Server Info packet, the client is not satisfied with the supported capabilities, | ||
| + | |||
| + | The format of the client identification string is entirely up to the developer of the client and is not used for capability checking, similar to the [[https:// | ||
| + | |||
| + | ===== Format ===== | ||
| + | |||
| + | ^ Index ^ Type ^ Description ^ | ||
| + | | 0 | '' | ||
| + | | 1 | [[sockchat: | ||
| + | | 2 | [[sockchat: | ||
| + | |||
| + | ===== Examples ===== | ||
| + | |||
| + | ==== No capabilities specified ==== | ||
| + | |||
| + | Client identifies itself but does not specify any capabilities. | ||
| + | |||
| + | 3\tKuroko/ | ||
| + | |||
| + | If the server doesn' | ||
| + | If it does understand, the server will respond with something akin to the following. | ||
| + | |||
| + | 11\tMikoto/ | ||
| + | |||
| + | ==== Capabilities specified ==== | ||
| + | |||
| + | Client identifies itself as supporting hypothetical capabilities '' | ||
| + | |||
| + | 3\tSatori/ | ||
| + | |||
| + | If the server doesn' | ||
| + | In this scenario the server does understand the client/ | ||
| + | |||
| + | 11\tSharpChat/ | ||
| + | |||
| + | ===== See Also ===== | ||
| + | |||
| + | * [[sockchat: | ||
| + | * [[sockchat: | ||
| + | |||
sockchat/c2s/client-info.1745106387.txt.gz · Last modified: by flash
