Boost.Corosio

    • Introduction
    • Networking Tutorial
      • What Happens When You Connect
      • Addressing Machines on the Internet
      • Turning Names into Addresses
      • URLs and Resource Identification
      • Clients, Servers, and Ports
      • IP: Moving Packets Across Networks
      • UDP: Fast, Simple, Unreliable
      • TCP: Reliable Byte Streams
      • Opening and Closing TCP Connections
      • How TCP Moves Your Data
      • When Packets Go Missing
      • Making TCP Fast
    • Tutorials
      • Echo Server Tutorial
      • HTTP Client Tutorial
      • DNS Lookup Tutorial
      • TLS Context Configuration
      • Hash Server
      • Reconnect with Backoff
    • Guide
      • TCP/IP Networking
      • Concurrent Programming
      • I/O Context
        • Configuration
      • Sockets
      • Acceptors
      • Endpoints
      • Composed Operations
      • Timers
      • Signal Handling
      • Name Resolution
      • TCP Server
      • TLS Encryption
      • Error Handling
      • Buffer Sequences
      • File I/O
      • Unix Domain Sockets
    • Testing
      • Mock Sockets
    • Benchmarks
    • Glossary
    • Quick Start
    • Reference
  • boost::corosio::local_stream_acceptor::is_open
arrow_upward

boost::corosio::local_stream_acceptor::is_open

Check if the acceptor has a native handle.

Synopsis

Declared in <boost/corosio/local_stream_acceptor.hpp>

bool
is_open() const noexcept;

Description

Returns true once open succeeds and until close is called. This does not indicate that listen has been invoked — an open‐but‐not‐listening acceptor will still report true.

Created with MrDocs