send and receive data in the same session (sleeping client)

50 views
Skip to first unread message

AlemV

unread,
Mar 13, 2014, 7:57:18 AM3/13/14
to mq...@googlegroups.com
What kind of message should a sleeping client use to publish its data and check for input messages (buffered in the server) in the same session?

The client can't use PINGREQ because this message may not be used with the PUBLISH messages from the client.
If the client use CONNECT how to know when the client may disconnect from the server (If the server has no buffered messages)?

Thanks,
Vladimir Alemasov
Reply all
Reply to author
Forward
0 new messages