Home of the Squeezebox™ & Transporter® network music players.
Page 2 of 2 FirstFirst 12
Results 11 to 15 of 15

Thread: HTTP version

  1. #11
    Senior Member
    Join Date
    May 2008
    Location
    Canada
    Posts
    5,271
    Now that I think I have identified the main problem in RP server, I need to get all the IP associated with a server. What is the best way to do that in Perl with the LMS Async context?

    Thanks
    LMS 7.7, 7.8 and 7.9 - 5xRadio, 3xBoom, 4xDuet, 1xTouch, 1 SB2. Sonos PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBoxOne, XBMC, Foobar2000, ShairPortW, JRiver 21, 2xChromecast Audio, Chromecast v1 and v2, , Pi B3, B2, Pi B+, 2xPi A+, Odroid-C1, Odroid-C2, Cubie2, Yamaha WX-010, AppleTV 4, Airport Express, GGMM E5

  2. #12
    Senior Member
    Join Date
    Oct 2005
    Location
    Ireland
    Posts
    17,984
    Quote Originally Posted by philippe_44 View Post
    Now that I think I have identified the main problem in RP server, I need to get all the IP associated with a server. What is the best way to do that in Perl with the LMS Async context?

    Thanks
    LMS uses AnyEvent:NS to do lookup - I think the info returned from resolve call should have various DNS records.

  3. #13
    Senior Member ralphy's Avatar
    Join Date
    Jan 2006
    Location
    Canada
    Posts
    2,278
    Quote Originally Posted by philippe_44 View Post
    Hi Michael - I was trying to start from the exact latest slimserver distribution to submit a patch so I re-cloned the repository and now, including with a fresh ActivePerl 5.14 (Windows) installation, my "manual" server does not work anymore for any HTTPS connection, it ends up with a "Bad File Descriptor" (including getting the plugin repos and so on). Did I miss something?
    Did you try updating IO-Socket-SSL and it's dependant modules from the activestate package manager?
    Ralphy

    1-Touch, 5-Classics, 3-Booms, 1-UE Radio
    Squeezebox client builds donations always appreciated.

  4. #14
    Senior Member
    Join Date
    May 2008
    Location
    Canada
    Posts
    5,271
    Quote Originally Posted by bpa View Post
    LMS uses AnyEvent:NS to do lookup - I think the info returned from resolve call should have various DNS records.
    I have to look better b/c currently it only returns one address, not the whole set
    LMS 7.7, 7.8 and 7.9 - 5xRadio, 3xBoom, 4xDuet, 1xTouch, 1 SB2. Sonos PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBoxOne, XBMC, Foobar2000, ShairPortW, JRiver 21, 2xChromecast Audio, Chromecast v1 and v2, , Pi B3, B2, Pi B+, 2xPi A+, Odroid-C1, Odroid-C2, Cubie2, Yamaha WX-010, AppleTV 4, Airport Express, GGMM E5

  5. #15
    Senior Member
    Join Date
    May 2008
    Location
    Canada
    Posts
    5,271
    Quote Originally Posted by philippe_44 View Post
    I have to look better b/c currently it only returns one address, not the whole set

    My bad ... Iĺm always ready to screw up with array and references in Perl
    LMS 7.7, 7.8 and 7.9 - 5xRadio, 3xBoom, 4xDuet, 1xTouch, 1 SB2. Sonos PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBoxOne, XBMC, Foobar2000, ShairPortW, JRiver 21, 2xChromecast Audio, Chromecast v1 and v2, , Pi B3, B2, Pi B+, 2xPi A+, Odroid-C1, Odroid-C2, Cubie2, Yamaha WX-010, AppleTV 4, Airport Express, GGMM E5

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •