AlteriomPainlessMesh v2.1.1
Easy ESP32/ESP8266 mesh networking with Alteriom IoT extensions
Loading...
Searching...
No Matches
Classes | Macros | Typedefs
asynctcp.hpp File Reference
#include <boost/array.hpp>
#include <boost/asio.hpp>
#include <iostream>
Include dependency graph for asynctcp.hpp:

Go to the source code of this file.

Classes

class  AsyncClient
 
class  AsyncServer
 

Macros

#define TCP_MSS   1024
 
#define ASYNC_WRITE_FLAG_COPY   0x01
 

Typedefs

typedef std::function< void(void *, AsyncClient *)> AcConnectHandler
 
typedef std::function< void(void *, AsyncClient *, size_t len, uint32_t time)> AcAckHandler
 
typedef std::function< void(void *, AsyncClient *, int8_t error)> AcErrorHandler
 
typedef std::function< void(void *, AsyncClient *, void *data, size_t len)> AcDataHandler
 
typedef std::function< void(void *, AsyncClient *, uint32_t time)> AcTimeoutHandler
 
typedef boost::asio::ip::address IPAddress
 

Macro Definition Documentation

◆ ASYNC_WRITE_FLAG_COPY

#define ASYNC_WRITE_FLAG_COPY   0x01

◆ TCP_MSS

#define TCP_MSS   1024

Typedef Documentation

◆ AcAckHandler

typedef std::function<void(void*, AsyncClient*, size_t len, uint32_t time)> AcAckHandler

◆ AcConnectHandler

typedef std::function<void(void*, AsyncClient*)> AcConnectHandler

◆ AcDataHandler

typedef std::function<void(void*, AsyncClient*, void* data, size_t len)> AcDataHandler

◆ AcErrorHandler

typedef std::function<void(void*, AsyncClient*, int8_t error)> AcErrorHandler

◆ AcTimeoutHandler

typedef std::function<void(void*, AsyncClient*, uint32_t time)> AcTimeoutHandler

◆ IPAddress

typedef boost::asio::ip::address IPAddress