This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
gamedev:remotelaunching:networkprotocol [2024/11/26 17:19] – [File Data Received] dragonlord | gamedev:remotelaunching:networkprotocol [2024/12/09 13:30] (current) – dragonlord | ||
---|---|---|---|
Line 52: | Line 52: | ||
===== Response File Layout ===== | ===== Response File Layout ===== | ||
- | Send by the client in response to a [[# | + | Send by the client in response to a [[# |
^ Type ^ Name ^ Description | ^ Type ^ Name ^ Description | ||
| [[gamedev: | | [[gamedev: | ||
- | | [[gamedev: | + | | [[gamedev: |
- | * '' | + | | FileInfo | Files[Count] | File information. | |
- | * '' | + | | - | Reserved | Reserved for future expansion. Ignore any additional bytes in the message. |
- | </ | + | |
+ | Where '' | ||
+ | ^ Type ^ Name ^ Description | ||
| [[gamedev: | | [[gamedev: | ||
| [[gamedev: | | [[gamedev: | ||
| [[gamedev: | | [[gamedev: | ||
- | | - | Reserved | Reserved for future expansion. Ignore any additional bytes in the message. | | ||
===== Request File Block Hashes ===== | ===== Request File Block Hashes ===== | ||
Line 78: | Line 79: | ||
===== Response File Block Hashes ===== | ===== Response File Block Hashes ===== | ||
- | Send by the client in response to a [[# | + | Send by the client in response to a [[# |
^ Type ^ Name ^ Description | ^ Type ^ Name ^ Description | ||
| [[gamedev: | | [[gamedev: | ||
| [[gamedev: | | [[gamedev: | ||
- | | [[gamedev: | + | | [[gamedev: |
- | * 1: Finish block hashes. | + | | BlockInfo |
- | * 2: No blocks. | + | |
- | </ | + | |
- | | [[gamedev: | + | |
- | | [[gamedev: | + | |
| - | Reserved | Reserved for future expansion. Ignore any additional bytes in the message. | | | - | Reserved | Reserved for future expansion. Ignore any additional bytes in the message. | | ||
+ | |||
+ | Where '' | ||
+ | ^ Type ^ Name ^ Description | ||
+ | | [[gamedev: | ||
===== Request Delete File ===== | ===== Request Delete File ===== | ||
Line 234: | Line 235: | ||
| [[gamedev: | | [[gamedev: | ||
| [[gamedev: | | [[gamedev: | ||
+ | | - | Reserved | Reserved for future expansion. Ignore any additional bytes in the message. | | ||
+ | |||
+ | |||
+ | ===== Request System Property ===== | ||
+ | |||
+ | Send by the server to request information about the system the client is running on. The server indicates which property to query. The client has to return the requested property value if it is supported and the value can be determined. Otherwise the client has to return an empty response. The message is send reliable and has this format: | ||
+ | |||
+ | ^ Type ^ Name ^ Description | ||
+ | | [[gamedev: | ||
+ | | [[gamedev: | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | Additional property names can be added in the future. Applications can define custom property names. Clients have to return empty value for unknown properties.</ | ||
+ | | - | Reserved | Reserved for future expansion. Ignore any additional bytes in the message. | | ||
+ | |||
+ | The client sends back a [[# | ||
+ | |||
+ | ===== Response System Property ===== | ||
+ | |||
+ | Send by the client in response to a [[# | ||
+ | |||
+ | ^ Type ^ Name ^ Description | ||
+ | | [[gamedev: | ||
+ | | [[gamedev: | ||
+ | | [[gamedev: | ||
+ | The length and format of '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | Additional property names can be added in the future. Applications can define custom property names. Clients have to return empty value for unknown properties.</ | ||
+ | | - | Reserved | Reserved for future expansion. Ignore any additional bytes in the message. | | ||
+ | |||
+ | ===== Keep-Alive ===== | ||
+ | |||
+ | Send by the server and the client to verify the other side is still alive. This catches situations where the other side crashed or the network connection between the two sides ruptured. This messages requires no response since it is send reliable. Failure to receive it closes the connection. The message has this format: | ||
+ | |||
+ | ^ Type ^ Name ^ Description | ||
+ | | [[gamedev: | ||
| - | Reserved | Reserved for future expansion. Ignore any additional bytes in the message. | | | - | Reserved | Reserved for future expansion. Ignore any additional bytes in the message. | | ||