Skip to content

available() not returning true #2

Description

@ramdor

In version 0.3.1 and using the following code in a loop, after some random time (sometimes a long time) available() will return false, and bConnected will return true. Yet in the next loop around available is still false. The project in question is constantly sending and receiving websocket data until this problem occurs.

if(m_objWebsocketClient.available()) {
  m_objWebsocketClient.poll();
} else {    
  bConnected = m_objWebsocketClient.connect(m_sTCI_server, port, "/");
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions