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
      • UDP Sockets
      • Readiness Wait
    • Testing
      • Mock Sockets
      • Socket Pairs
      • Testing Patterns
    • Benchmarks
    • Glossary
    • Quick Start
    • Reference
  • boost::corosio::ipv4_address::ipv4_address
arrow_upward

boost::corosio::ipv4_address::ipv4_address

Construct from an unsigned integer.

Synopsis

Declared in <boost/corosio/ipv4_address.hpp>

explicit
ipv4_address(uint_type u) noexcept;

Description

This function constructs an address from the unsigned integer u, where the most significant byte forms the first octet of the resulting address.

Parameters

Name Description

u

The integer to construct from.

Created with MrDocs