libUPnP 22.0.4
HOSTPORT Struct Reference

Represents a host port: e.g. "127.127.0.1:80" text is a token pointing to the full string representation. More...

#include <uri.h>

Collaboration diagram for HOSTPORT:

Data Fields

token text
struct sockaddr_storage IPaddress
unsigned short int port

Detailed Description

Represents a host port: e.g. "127.127.0.1:80" text is a token pointing to the full string representation.

Field Documentation

◆ port

unsigned short int HOSTPORT::port

Parsed port number. Valid regardless of whether IPaddress has been resolved yet (IPaddress.ss_family == AF_UNSPEC means "not yet resolved", see resolve_hostport()).

Referenced by copy_URL_list(), parse_hostport(), and resolve_hostport().

◆ text


The documentation for this struct was generated from the following file: