Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 11-21-2016, 11:52 PM   #1
LQ Newbie
Registered: Nov 2016
Posts: 7

Rep: Reputation: Disabled
mqtt client id

I am totally following what hivemq and mqtt specs are telling.But i have confusion regarding their implementation.In mqtt specs they are suggesing to generate random client id if cleansession flag is true and not for cleansession flag being false.My question is how do i really implement this on my area of programming language.To be more specific am working in linux command line and my programming language is c++.
Old 11-22-2016, 04:15 PM   #2
Senior Member
Registered: Apr 2009
Posts: 1,838

Rep: Reputation: 160Reputation: 160
What's your real question? Question is how to generate random client Id or where to check cleansession flag.
Old 11-30-2016, 06:30 AM   #3
LQ Newbie
Registered: Nov 2016
Posts: 7

Original Poster
Rep: Reputation: Disabled

My main question is about dealing with sessions.I was confused about dealing with client id part but i am ok now


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: RabbitMQ 3.0 plugs into STOMP and MQTT LXer Syndicated Linux News 0 11-19-2012 04:30 PM
how to setup thin client just for telnet or ssh client use using boot diskless PXE. hocheetiong Linux - Newbie 3 05-21-2008 08:02 PM
ProFTPd ... FTP client fails to connect: timeout after client sends 'LIST' nutnut Linux - Software 2 01-01-2006 08:09 PM
Refresh client user list at autentication client/server network. robertoneto123 Linux - Networking 0 11-11-2003 11:38 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:13 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration