Wire Sysio Wire Sysion 1.0.0
|
#include <udp_socket.hpp>
Classes | |
class | impl |
Public Member Functions | |
udp_socket () | |
udp_socket (const udp_socket &s) | |
~udp_socket () | |
void | initialize (boost::asio::io_service &) |
void | open () |
void | send_to (const char *b, size_t l, boost::asio::ip::udp::endpoint &to) |
void | send_to (const std::shared_ptr< const char > &b, size_t l, boost::asio::ip::udp::endpoint &to) |
void | close () |
void | set_reuse_address (bool) |
void | connect (const boost::asio::ip::udp::endpoint &e) |
const boost::asio::ip::udp::endpoint | local_endpoint () const |
The udp_socket class has reference semantics, all copies will refer to the same underlying socket.
Definition at line 17 of file udp_socket.hpp.
fc::udp_socket::udp_socket | ( | ) |
Definition at line 16 of file udp_socket.cpp.
fc::udp_socket::udp_socket | ( | const udp_socket & | s | ) |
fc::udp_socket::~udp_socket | ( | ) |
Definition at line 26 of file udp_socket.cpp.
void fc::udp_socket::close | ( | ) |
Definition at line 91 of file udp_socket.cpp.
void fc::udp_socket::connect | ( | const boost::asio::ip::udp::endpoint & | e | ) |
Definition at line 101 of file udp_socket.cpp.
void fc::udp_socket::initialize | ( | boost::asio::io_service & | service | ) |
Definition at line 21 of file udp_socket.cpp.
const boost::asio::ip::udp::endpoint fc::udp_socket::local_endpoint | ( | ) | const |
Definition at line 96 of file udp_socket.cpp.
void fc::udp_socket::open | ( | ) |
Definition at line 85 of file udp_socket.cpp.
void fc::udp_socket::send_to | ( | const char * | b, |
size_t | l, | ||
boost::asio::ip::udp::endpoint & | to ) |
Definition at line 38 of file udp_socket.cpp.
void fc::udp_socket::send_to | ( | const std::shared_ptr< const char > & | b, |
size_t | l, | ||
boost::asio::ip::udp::endpoint & | to ) |
Definition at line 61 of file udp_socket.cpp.
void fc::udp_socket::set_reuse_address | ( | bool | s | ) |
Definition at line 106 of file udp_socket.cpp.