Skip to content

Socket::set_timeout doesn't work properly for the server side TCPClient instance #2435

Closed
@tommikas

Description

@tommikas
  1. create, open, bind and set to listen a new TCPServer instance
  2. accept a new connection on a new TCPSocket instance
  3. set the TCPSocket to non-blocking mode
  4. call TCPSocket::recv

TCPSocket::recv blocks indefinitely if no data is pending or received.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions