Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [paho-dev] Mqtt

Thank you so much.


On Sat, Jul 28, 2018, 1:18 PM Jos Vos <jos@xxxxxx> wrote:
Hi,

On Sat, Jul 28, 2018 at 07:00:11AM +0530, saurabh singh wrote:

> Sorry i am not able figure out please tell me,
> What add_reader and add_writer does.
> How to use client. socket with them and how to call appropriate callbacks.
> I am new to asyncio and doing basic stuff so far .

These are the most relevant parts of the docs:

asyncio:
https://docs.python.org/3/library/asyncio-eventloop.html#watch-file-descriptors

mqtt:
https://pypi.org/project/paho-mqtt/#external-event-loop-support

Hope this helps,

--
--    Jos Vos <jos@xxxxxx>
--    X/OS Experts in Open Systems BV   |   Office: +31 20 6938364
--    Amsterdam, The Netherlands        |   Mobile: +31 6 26216181
_______________________________________________
paho-dev mailing list
paho-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/paho-dev

Back to the top