Preliminary. ThinkMeta ConcurrentTasks and this documentation are preliminary; everything is subject to change.

API reference / Net

Functions and constants functions

Free functions and constants of Net.

On this page
Use
import ThinkMeta.ConcurrentTasks.Net.IpSocket;
Namespace
ThinkMeta::ConcurrentTasks::Net
Platforms
Windows, Linux

Concepts

Net::IpVersionType

Satisfied by IpVersion::V4 and IpVersion::V6.

Syntax

template <typename T>
concept IpVersionType =
    std::same_as<T, IpVersion::V4>
    || std::same_as<T, IpVersion::V6>;

Template parameters

Ttypename
The type to check.

Net::SocketType

The base socket type of the IP socket templates.

Syntax

template <typename T> concept SocketType = std::derived_from<T, Platform::Socket>;

Template parameters

Ttypename
The type to check.

Remarks

Satisfied by the platform's socket class (Platform::Socket) and classes derived from it (e.g. AsyncIo::AsyncSocket).

Generated from ThinkMeta.ConcurrentTasks.API @ da816bc (2026-11-06).