Giter Site home page Giter Site logo

Comments (9)

me-no-dev avatar me-no-dev commented on August 15, 2024

Hmm... that is rather strange... need to investigate

from asynctcp.

drejkus avatar drejkus commented on August 15, 2024

Just adding simple test file.

AsyncTest.zip

from asynctcp.

copercini avatar copercini commented on August 15, 2024

I'm hitting the exactly same issue, one of the problems is in dns resolution, AsyncMqttClient doesn't have a dns_found_callback function to continue after AsyncTCP return an IP here: https://github.com/me-no-dev/AsyncTCP/blob/master/src/AsyncTCP.cpp#L555

with IP directly, seems to be something between _tcp_write and _tcp_write_api because none of my debug messages in _tcp_write_api are printed, and the last one is in _tcp_write

from asynctcp.

me-no-dev avatar me-no-dev commented on August 15, 2024

Aaaahhhh... onConnect runs on the network thread... let me try to figure this out...

from asynctcp.

me-no-dev avatar me-no-dev commented on August 15, 2024

guys try the latest commit :)

from asynctcp.

drejkus avatar drejkus commented on August 15, 2024

Brilliant! Works for me.

@copercini - I hit the DNS issue aswell, but I belive that the problem is in AsyncMqttClient where it does not return AsyncTCP connect() result in it's own connect(). If it did we could simply issue a reconnect. But that is another story

from asynctcp.

me-no-dev avatar me-no-dev commented on August 15, 2024

dns issue should also be fixed ;)

from asynctcp.

copercini avatar copercini commented on August 15, 2024

Awesome man!!!

Both problems was solved here, thanks!

from asynctcp.

me-no-dev avatar me-no-dev commented on August 15, 2024

:) closing then :P

from asynctcp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.