2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
20#ifndef NET_IN6_PHY_STREAM_PHYSICALSOCKETSERVER_H
21#define NET_IN6_PHY_STREAM_PHYSICALSOCKETSERVER_H
23#include "net/in6/phy/stream/PhysicalSocket.h"
24#include "net/phy/stream/PhysicalSocketServer.h"
28#ifndef DOXYGEN_SHOULD_SKIP_THIS
46extern template class net::phy::stream::PhysicalSocketServer<net::in6::SocketAddress>;
47extern template class net::in6::phy::stream::PhysicalSocket<net::phy::stream::PhysicalSocketServer>;
48extern template class net::in6::phy::PhysicalSocket<net::phy::stream::PhysicalSocketServer>;
#define APPLICATION(req, res)
static void init(int argc, char *argv[])
static int start(const utils::Timeval &timeOut={LONG_MAX, 0})
PhysicalSocketServer(PhysicalSocketServer &&) noexcept=default
~PhysicalSocketServer() override
void listen(const std::string &ipOrHostname, uint16_t port, const std::function< void(const SocketAddress &, core::socket::State)> &onStatus) const
void listen(uint16_t port, int backlog, const std::function< void(const SocketAddress &, core::socket::State)> &onStatus) const
void listen(uint16_t port, const std::function< void(const SocketAddress &, core::socket::State)> &onStatus) const
void listen(const std::string &ipOrHostname, uint16_t port, int backlog, const std::function< void(const SocketAddress &, core::socket::State)> &onStatus) const
int main(int argc, char *argv[])
Router getRouter(const std::string &webRoot)