msnp-wiki/docs/commands/qng.md

41 lines
820 B
Markdown
Raw Normal View History

# Introduction
`QNG` is a command introduced with [MSNP2](../versions/msnp2.md).
It is a Notification Server command, without either a request or response payload.
It is the server's response to the [PNG](png.md) command.
# Client/Request
This command can not be sent from the client.
# Server/Response
`QNG {next-seconds}`
Where `next-seconds` is the amount of seconds until the client should send another [PNG](png.md). Added since [MSNP9](../versions/msnp9.md).
# Examples
## Server-reply, old
```
C: PNG
S: QNG
```
## Server-reply, new
*Since [MSNP9](../versions/msnp9.md).*
```
C: PNG
S: QNG 50
```
## Invalid context
*Inherited from being an unimplemented command.*
```
C: QNG
```
Server disconnects client.
# Known changes
* [MSNP9](../versions/msnp9.md): Added a next seconds parameter (parameter 1).