TEC
A lightweight C++ library enabling safe, efficient execution in multithreaded and concurrent systems.
Loading...
Searching...
No Matches
tec_socket_server.hpp File Reference

Generic BSD socket server template using actor pattern with configurable parameters. More...

#include <cstddef>
#include <memory>
#include <vector>
#include <cstdio>
#include <unistd.h>
#include <memory.h>
#include <netdb.h>
#include <arpa/inet.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <atomic>
#include <cerrno>
#include <csignal>
#include <string>
#include <thread>
#include "tec/tec_def.hpp"
#include "tec/tec_signal.hpp"
#include "tec/tec_trace.hpp"
#include "tec/tec_status.hpp"
#include "tec/tec_memfile.hpp"
#include "tec/tec_actor.hpp"
#include "tec/net/tec_socket.hpp"
#include "tec/net/tec_socket_thread_pool.hpp"

Go to the source code of this file.

Classes

class  tec::SocketServer< TParams >
 Generic BSD socket server template using actor pattern with configurable parameters. More...
 

Macros

#define _POSIX_C_SOURCE   200809L
 

Detailed Description

Generic BSD socket server template using actor pattern with configurable parameters.

Note
For BSD, macOS, Linux. Windows version is not tested yet.
Author
The Emacs Cat
Date
2025-11-10