#include <UdpConnection.h>
Inherits Connection.
Inherited by UdpServer.
Inheritance diagram for UdpConnection:


Public Member Functions | |
| UdpConnection (const String &host, const String &service) | |
| virtual | ~UdpConnection () |
| int | setBroadcast (const bool yes=true) |
Friends | |
| class | Poller |
Definition at line 15 of file UdpConnection.h.
Definition at line 25 of file UdpConnection.cpp.
References CSTRING(), DEBUG, ERROR, ERROR_BACKTRACE(), FAILED(), Support::failure(), MSG_SOCKET_CANNOT_CREATE, Connection::setAddress(), Connection::setup(), and Socket::socket().
| UdpConnection::~UdpConnection | ( | ) | [virtual] |
Definition at line 49 of file UdpConnection.cpp.
| int UdpConnection::setBroadcast | ( | const bool | yes = true |
) |
Definition at line 53 of file UdpConnection.cpp.
References Socket::_socket, ERROR, MSG_SOCKET_CANNOT_SET_OPTION, and OK.
Referenced by Syslog::Syslog().
friend class Poller [friend] |
Reimplemented from Connection.
Reimplemented in UdpServer.
Definition at line 18 of file UdpConnection.h.
1.5.1