• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • tdecore
 

tdecore

tdemulticastsocket.h

00001 /*  -*- C++ -*-
00002  *  Copyright (C) 2003 Thiago Macieira <thiago.macieira@kdemail.net>
00003  *
00004  *
00005  *  Permission is hereby granted, free of charge, to any person obtaining
00006  *  a copy of this software and associated documentation files (the
00007  *  "Software"), to deal in the Software without restriction, including
00008  *  without limitation the rights to use, copy, modify, merge, publish,
00009  *  distribute, sublicense, and/or sell copies of the Software, and to
00010  *  permit persons to whom the Software is furnished to do so, subject to
00011  *  the following conditions:
00012  *
00013  *  The above copyright notice and this permission notice shall be included 
00014  *  in all copies or substantial portions of the Software.
00015  *
00016  *  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
00017  *  EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
00018  *  MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
00019  *  NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
00020  *  LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
00021  *  OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
00022  *  WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
00023  */
00024 
00025 #ifndef TDEMULTICASTSOCKET_H
00026 #define TDEMULTICASTSOCKET_H
00027 
00028 #include "kdatagramsocket.h"
00029 #include "tdemulticastsocketdevice.h"
00030 
00031 namespace KNetwork {
00032 
00033 class KMulticastSocketPrivate;
00048 class TDECORE_EXPORT KMulticastSocket: public KDatagramSocket
00049 {
00050   // Q_add-it-here_OBJECT
00051 public:
00055   KMulticastSocket(TQObject* 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 TDESocketAddress& group);
00082 
00088   virtual bool joinGroup(const TDESocketAddress& group, 
00089              const KNetworkInterface& iface);
00090 
00098   virtual bool leaveGroup(const TDESocketAddress& group);
00099 
00104   virtual bool leaveGroup(const TDESocketAddress& group,
00105               const KNetworkInterface& iface);
00106 
00107 private:
00108   KMulticastSocketPrivate *d;
00109 };
00110 
00111 }               // namespace KNetwork
00112 
00113 #endif

tdecore

Skip menu "tdecore"
  • Main Page
  • Modules
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

tdecore

Skip menu "tdecore"
  • arts
  • dcop
  • dnssd
  • interfaces
  •   kspeech
  •     interface
  •     library
  •   tdetexteditor
  • kate
  • kded
  • kdoctools
  • kimgio
  • kjs
  • libtdemid
  • libtdescreensaver
  • tdeabc
  • tdecmshell
  • tdecore
  • tdefx
  • tdehtml
  • tdeinit
  • tdeio
  •   bookmarks
  •   httpfilter
  •   kpasswdserver
  •   kssl
  •   tdefile
  •   tdeio
  •   tdeioexec
  • tdeioslave
  •   http
  • tdemdi
  •   tdemdi
  • tdenewstuff
  • tdeparts
  • tdeprint
  • tderandr
  • tderesources
  • tdespell2
  • tdesu
  • tdeui
  • tdeunittest
  • tdeutils
  • tdewallet
Generated for tdecore by doxygen 1.6.3
This website is maintained by Timothy Pearson.