BitShares-Core  4.0.0
BitShares blockchain implementation and command-line interface software
Classes | Public Member Functions | List of all members
fc::tcp_server Class Reference

#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
 

Detailed Description

Definition at line 64 of file tcp_socket.hpp.

Constructor & Destructor Documentation

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.

Member Function Documentation

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 ( uint16_t  port)

Definition at line 333 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::set_reuse_address ( bool  enable = true)

Definition at line 310 of file tcp_socket.cpp.


The documentation for this class was generated from the following files: