BitShares-Core
7.0.2
BitShares blockchain node software and command-line wallet software
|
#include <tcp_socket.hpp>
Classes | |
class | impl |
Public Member Functions | |
tcp_server () | |
~tcp_server () | |
void | close () |
void | accept (tcp_socket &s) |
void | set_reuse_address (bool enable=true) |
void | listen (uint16_t port) |
void | listen (const fc::ip::endpoint &ep) |
fc::ip::endpoint | get_local_endpoint () const |
uint16_t | get_port () const |
Definition at line 70 of file tcp_socket.hpp.
fc::tcp_server::tcp_server | ( | ) |
Definition at line 294 of file tcp_socket.cpp.
fc::tcp_server::~tcp_server | ( | ) |
Definition at line 297 of file tcp_socket.cpp.
void fc::tcp_server::accept | ( | tcp_socket & | s | ) |
Definition at line 302 of file tcp_socket.cpp.
void fc::tcp_server::close | ( | ) |
Definition at line 288 of file tcp_socket.cpp.
fc::ip::endpoint fc::tcp_server::get_local_endpoint | ( | ) | const |
Definition at line 356 of file tcp_socket.cpp.
uint16_t fc::tcp_server::get_port | ( | ) | const |
Definition at line 363 of file tcp_socket.cpp.
void fc::tcp_server::listen | ( | const fc::ip::endpoint & | ep | ) |
Definition at line 344 of file tcp_socket.cpp.
void fc::tcp_server::listen | ( | uint16_t | port | ) |
Definition at line 333 of file tcp_socket.cpp.
void fc::tcp_server::set_reuse_address | ( | bool | enable = true | ) |
Definition at line 310 of file tcp_socket.cpp.