KNetwork::KMulticastSocket Class Reference
A multicast-capable datagram socket class. More...
#include <kmulticastsocket.h>
Inheritance diagram for KNetwork::KMulticastSocket:

Public Member Functions | |
KMulticastSocket (QObject *parent=0L, const char *name=0L) | |
~KMulticastSocket () | |
KMulticastSocketImpl * | multicastSocketDevice () |
const KMulticastSocketImpl * | multicastSocketDevice () const |
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) |
Detailed Description
A multicast-capable datagram socket class.This class derives from KDatagramSocket adding methods to it to allow better control over the multicast functionality. In special, the join and leave group functions are added.
Other more low-level options on multicast sockets can be accessed directly with the KMulticastSocketImpl class returned by multicastSocketDevice.
- Author:
- Thiago Macieira <thiago.macieira@kdemail.net>
Definition at line 48 of file kmulticastsocket.h.
Constructor & Destructor Documentation
|
Constructor.
|
|
Destructor.
|
Member Function Documentation
|
Returns the multicast socket device in use by this object.
|
|
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.
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. Joins a multicast group. This function also specifies the network interface to be used. |
|
Leaves a multicast group.
The group being left is given by its address in 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. |
The documentation for this class was generated from the following file: