kmulticastsocket.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025 #ifndef KMULTICASTSOCKET_H
00026 #define KMULTICASTSOCKET_H
00027
00028 #include "kdatagramsocket.h"
00029 #include "kmulticastsocketdevice.h"
00030
00031 namespace KNetwork {
00032
00033 class KMulticastSocketPrivate;
00048 class KMulticastSocket: public KDatagramSocket
00049 {
00050
00051 public:
00055 KMulticastSocket(QObject* parent = 0L, const char *name = 0L);
00056
00060 ~KMulticastSocket();
00061
00067 KMulticastSocketImpl* multicastSocketDevice();
00068
00072 const KMulticastSocketImpl* multicastSocketDevice() const;
00073
00081 virtual bool joinGroup(const KSocketAddress& group);
00082
00088 virtual bool joinGroup(const KSocketAddress& group,
00089 const KNetworkInterface& iface);
00090
00098 virtual bool leaveGroup(const KSocketAddress& group);
00099
00104 virtual bool leaveGroup(const KSocketAddress& group,
00105 const KNetworkInterface& iface);
00106
00107 private:
00108 KMulticastSocketPrivate *d;
00109 };
00110
00111 }
00112
00113 #endif
This file is part of the documentation for kdecore Library Version 3.3.2.