KNetwork::KMulticastSocketImpl Class Reference
#include <kmulticastsocketdevice.h>
Inheritance diagram for KNetwork::KMulticastSocketImpl:

Detailed Description
The low-level backend for multicasting sockets.This class is an interface providing methods for handling multicast operations.
- Author:
- Thiago Macieira <thiago.macieira@kdemail.net>
Definition at line 45 of file kmulticastsocketdevice.h.
Public Member Functions | |
KMulticastSocketImpl (const KSocketBase *=0L) | |
virtual | ~KMulticastSocketImpl () |
virtual int | capabilities () const |
virtual bool | create (int family, int type, int protocol) |
virtual bool | connect (const KResolverEntry &address) |
virtual int | timeToLive () const |
virtual bool | setTimeToLive (int ttl) |
virtual bool | multicastLoop () const |
virtual bool | setMulticastLoop (bool enable) |
virtual KNetworkInterface | networkInterface () |
virtual bool | setNetworkInterface (const KNetworkInterface &iface) |
virtual bool | joinGroup (const KSocketAddress &group) |
virtual bool | joinGroup (const KSocketAddress &group, const KNetworkInterface &iface) |
virtual bool | leaveGroup (const KSocketAddress &group) |
virtual bool | leaveGroup (const KSocketAddress &group, const KNetworkInterface &iface) |
Constructor & Destructor Documentation
|
Constructor.
|
|
Destructor.
|
Member Function Documentation
|
Sets our capabilities.
Reimplemented from KNetwork::KSocketDevice. |
|
Overrides connection. Multicast sockets may not connect. Reimplemented from KNetwork::KSocketDevice. |
|
Overrides the socket creation.
Reimplemented from KNetwork::KSocketDevice. |
|
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Joins a multicast group. This function also specifies the network interface to be used. |
|
Joins a multicast group.
The group to be joined is identified by the
|
|
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Leaves a multicast group.
|
|
Leaves a multicast group.
The group being left is given by its address in the
|
|
Retrieves the flag indicating if sent packets will be echoed back to sender.
|
|
Retrieves the network interface this socket is associated to.
|
|
Sets the flag indicating the loopback of packets to the sender.
|
|
Sets the network interface on which this socket should work.
|
|
Sets the time-to-live/hop count for outgoing multicast packets.
|
|
Retrieves the time-to-live/hop count value on multicast packets being sent.
|
The documentation for this class was generated from the following file: