Re: [Interest] Simple device discovery using UDP

2018-10-02 Thread Thiago Macieira
On Tuesday, 2 October 2018 08:14:01 PDT coroberti . wrote: > Hi, > 1. As Sean has mentioned, firewall settings that do not allow broadcasts > could be the case. > > 2. Yet another case could be: QHostAddress::Broadcast. > It's so-called All-Networks-Broadcast (255.255.255.255) > and normally

Re: [Interest] Simple device discovery using UDP

2018-10-02 Thread Thiago Macieira
On Tuesday, 2 October 2018 06:43:39 PDT Jason H wrote: > I have an app (Desktop) that I want it to know about other running instances > on the local network. I figured UDP broadcast was a natural choice. I tried > it, but I never saw anything but my own (local) packets. There's quite a > few

Re: [Interest] Simple device discovery using UDP

2018-10-02 Thread Michael Jackson
What you want is this: https://github.com/nitroshare/qmdnsengine Don't reinvent the wheel if you don't have to. MIT licensed. No relation to the project at all. -- Michael Jackson | Owner, President BlueQuartz Software [e] mike.jack...@bluequartz.net [w] www.bluequartz.net

Re: [Interest] Simple device discovery using UDP

2018-10-02 Thread coroberti .
On Tue, Oct 2, 2018 at 5:02 PM Murphy, Sean wrote: > > > I have an app (Desktop) that I want it to know about other running instances > > on the local network. I figured UDP broadcast was a natural choice. I tried > > it, > > but I never saw anything but my own (local) packets. There's quite a

Re: [Interest] Simple device discovery using UDP

2018-10-02 Thread Reinhardt Behm via Interest
On Tuesday 02 October 2018 15:43:39 Jason H wrote: > I have an app (Desktop) that I want it to know about other running instances > on the local network. I figured UDP broadcast was a natural choice. I tried > it, but I never saw anything but my own (local) packets. There's quite a > few

Re: [Interest] Simple device discovery using UDP

2018-10-02 Thread Murphy, Sean
> I have an app (Desktop) that I want it to know about other running instances > on the local network. I figured UDP broadcast was a natural choice. I tried > it, > but I never saw anything but my own (local) packets. There's quite a few > stackoverflow questions, but none used Qt. I'm wondering

Re: [Interest] Simple device discovery using UDP

2018-10-02 Thread Jason H
Forgot to include my sending code, incase that's the problem: void HostInfoService::update() { QNetworkDatagram datagram(QHostInfo::localHostName().toLocal8Bit(), QHostAddress::Broadcast, 13999); udpSocket4.writeDatagram(datagram); //udpSocket6.writeDatagram(datagram);

[Interest] Simple device discovery using UDP

2018-10-02 Thread Jason H
I have an app (Desktop) that I want it to know about other running instances on the local network. I figured UDP broadcast was a natural choice. I tried it, but I never saw anything but my own (local) packets. There's quite a few stackoverflow questions, but none used Qt. I'm wondering if it's

Re: [Interest] Struggling with moveEvent()

2018-10-02 Thread Murphy, Sean
> Widgets are normally positioned relative to their owner - the exception > is popup menus, which are screen absolute.  I would expect a popup menu > to automatically close when the title bar is clicked.  How have you > implemented your captionPopupMenu?  Does it capture the mouse when it > is >

Re: [Interest] Struggling with moveEvent()

2018-10-02 Thread Murphy, Sean
> > So I'm not sure what I need to trigger off from to detect when I need to > reposition the menu. I feel like I'm missing something really obvious, but not > seeing it on a Monday apparently. > > I don't think you're missing anything -- if a widget doesn't move, but > its parent does, only the

Re: [Interest] video init duration

2018-10-02 Thread Alexander Carôt
Hello Tomasz and all, sorry for the late response - needed to figure several things first. >>Have tried to wait until camera is in active status? Yes, this is the case. Not that I consciously did that but the cam de facto is in active state. >>And why you set timer interval to 40 ms?

Re: [Interest] Priority of bugs

2018-10-02 Thread Alex Blasche
From: Krzysztof Kawa >> P.S. On the positive side, in regular intervals we do a bugfixing week. >> During such a week >>the entire RnD org focuses only on bugs. I consider them a fairly successful >>exercise and as luck will have it, we have one next