Page 1 of 1

getsockname (detection of own IP) usage?

Posted: 02 Sep 2015 12:41
by pz1
Found this in the fixes list of the last release candidates.
I did not find a reference to it in the developers manual. Can you give an example of its usage?
Hope I can use this in one of my userModules to get the ipname for the raspberry localhost?

Re: getsockname (detection of own IP) usage?

Posted: 06 Sep 2015 12:50
by PoltoS
Sonos module uses this - it is needed to announce own IP in the list of "listeners" of UDP notifier on Sonos.

Updated the manual

Re: getsockname (detection of own IP) usage?

Posted: 06 Sep 2015 13:15
by pz1
PoltoS wrote:Sonos module uses this
Thanks. I had been looking for getsockname on github, but got no hits. I now understand why