Logo Search packages:      
Sourcecode: libupnp4 version File versions  Download package

EXPORT_SPEC char* UpnpGetServerIp6Address (  ) 

Returns the local IPv6 listening ip address.

If NULL is used as the IPv6 address in UpnpInit, then this function can be used to retrieve the actual interface address on which device is running.

  • On success: The IPv6 address on which an internal server is listening for UPnP related requests.
  • On error: NULL is returned if UpnpInit has not succeeded.

Definition at line 414 of file upnpapi.c.

References gIF_IPV6, and UpnpSdkInit.

      if( UpnpSdkInit != 1 ) {
            return NULL;

      return gIF_IPV6;

Generated by  Doxygen 1.6.0   Back to index