Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [paho-dev] PINGREQ message timing.

Hi,

perhaps that text from the spec would be clearer if it said:

> In the absence of any messages during the time period, the client sends a
> PINGREQ message, which the server acknowledges with a PINGRESP message.

The requirement is that the broker receives _something_ within the
keepAlive period.


Regards,
Nick

On 17 June 2012 11:34, ನಾಗೇಶ್ ಸುಬ್ರಹ್ಮಣ್ಯ (Nagesh S)
<nageshblore@xxxxxxxxx> wrote:
> Hi,
> If a client receives a PUBLISH message from the broker - because it had
> subscribed to some topic - within the keepAlive number of seconds, should
> the client send the PINGREQ message ? I am not following the text in bold
> below; the text is from the spec.
>
> The Keep Alive timer, measured in seconds, defines the maximum time interval
> between
> messages received from a client. It enables the server to detect that the
> network
> connection to a client has dropped, without having to wait for the long
> TCP/IP timeout.
> The client has a responsibility to send a message within each Keep Alive
> time period. In
> the absence of a data-related message during the time period, the client
> sends a
> PINGREQ message, which the server acknowledges with a PINGRESP message.
>
> ನಾಗೇಶ್
>
> _______________________________________________
> paho-dev mailing list
> paho-dev@xxxxxxxxxxx
> http://dev.eclipse.org/mailman/listinfo/paho-dev
>


Back to the top