Use gUPnP to determine external IP address and control URL

Review Request #1785 — Created Sept. 18, 2022 and submitted

Information

pidgin/pidgin
default

Reviewers

This is based on the gUPnP example, but modified to use the async API, and its context manager to automatically check all interfaces.

Opened prefs and checked that external IP was detected with a UPnP-enabled router.

Summary ID
Use GUPnP to determine external IP address and control URL
d586dfa56b6480af87428b264ed32581a3d58a8f
Description From Last Updated

don't we need this in the pkg-config file too?

grimgrim

I thought we were just going to start using g_message and friends..

grimgrim
grim
  1. 
      
  2. libpurple/meson.build (Diff revision 1)
     
     
    Show all issues

    don't we need this in the pkg-config file too?

    1. Only if we include the header in the public file, no?

    2. oh is that the case? yeah I believe that is the case.

  3. libpurple/upnp.c (Diff revision 1)
     
     
    Show all issues

    I thought we were just going to start using g_message and friends..

    1. Don't worry about this, we'll take care of this when we move to a purple-network-manager that handles all of this stuff.

  4. 
      
grim
  1. Ship It!
  2. Nice work, but ho boy is this library way more confusing that it should be... Thanks!!

  3. 
      
grim
Review request changed
Status:
Completed