NetCpp  v0.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Macros Pages
__buffer Struct Reference

Structure to avoid issues when giving buffers to AbstractSocket. More...

#include <abstract_socket.hpp>

Public Attributes

void * ptr_
 Pointer to data in memory.
std::size_t size_
 Size (in bytes) of data.

Detailed Description

Structure to avoid issues when giving buffers to AbstractSocket.

This structure allows to avoid issues about templates when giving a buffer to AbstractSocket. It is not meant to be directly used by the user. The user must only use buffer(...).

Definition at line 50 of file abstract_socket.hpp.

Member Data Documentation

void* ptr_

Pointer to data in memory.

Definition at line 52 of file abstract_socket.hpp.

std::size_t size_

Size (in bytes) of data.

Definition at line 55 of file abstract_socket.hpp.


The documentation for this struct was generated from the following file: