summaryrefslogtreecommitdiff
path: root/sd/source/ui/remotecontrol/DiscoveryService.hxx
diff options
context:
space:
mode:
authorAndrzej J.R. Hunt <andrzej@ahunt.org>2012-08-02 16:40:31 +0200
committerMichael Meeks <michael.meeks@suse.com>2012-08-06 10:23:09 +0100
commit473143eac756184028e487d23a9af6ea452e1324 (patch)
treed1f32b55a455974823e87cdb1c650133795a6f5d /sd/source/ui/remotecontrol/DiscoveryService.hxx
parent341f89ec308bd5a66a36741d22f100721d8223de (diff)
Multicast listening now working.
Change-Id: Icae91b26f1142d7f25d6e38af4f951be26d9b22a
Diffstat (limited to 'sd/source/ui/remotecontrol/DiscoveryService.hxx')
-rw-r--r--sd/source/ui/remotecontrol/DiscoveryService.hxx9
1 files changed, 7 insertions, 2 deletions
diff --git a/sd/source/ui/remotecontrol/DiscoveryService.hxx b/sd/source/ui/remotecontrol/DiscoveryService.hxx
index aa4b349950db..94a276546f42 100644
--- a/sd/source/ui/remotecontrol/DiscoveryService.hxx
+++ b/sd/source/ui/remotecontrol/DiscoveryService.hxx
@@ -27,9 +27,13 @@ namespace css = ::com::sun::star;
#define CHARSET RTL_TEXTENCODING_UTF8
+struct sockaddr_in;
+
namespace sd
{
+
+
class DiscoveryService : public salhelper::Thread
{
public:
@@ -42,8 +46,9 @@ namespace sd
static DiscoveryService *spService;
void execute();
- osl::DatagramSocket mSocket;
- void replyTo( osl::SocketAddr& rAddr );
+// osl::DatagramSocket mSocket;
+ int mSocket;
+ void replyTo( sockaddr_in& rAddr );
};
}