jsocketpp 1.0
A cross-platform C++20 socket library.
Loading...
Searching...
No Matches
jsocketpp::internal Namespace Reference

Implementation-only utilities and platform abstractions for jsocketpp. More...

Classes

class  ScopedBlockingMode
 RAII helper for temporarily overriding a socket's blocking mode. More...

Functions

std::vector< WSABUF > toWSABUF (const BufferView *buffers, const std::size_t count)
 Convert a raw array of BufferView elements into a WSABUF array for use with Windows socket APIs.
std::vector< WSABUF > toWSABUF (const std::span< const BufferView > buffers)
 Convert a span of BufferView elements into a WSABUF array (Windows).
std::vector< iovec > toIOVec (const BufferView *buffers, const std::size_t count)
 Convert a raw array of BufferView elements into an iovec array for POSIX readv/writev.
std::vector< iovec > toIOVec (const std::span< const BufferView > buffers)
 Convert a span of BufferView elements into an iovec array for POSIX vectorized I/O.

Detailed Description

Implementation-only utilities and platform abstractions for jsocketpp.

This namespace contains internal helper classes, platform-specific adapters, and low-level abstractions used by the jsocketpp library. These components are not part of the public API and may change at any time without notice.

Contents

Usage

Developers using jsocketpp should not depend on symbols in this namespace unless they are contributing to the library itself or extending its internals.

Warning
Not part of the public API. Subject to change or removal in future versions.