From doc, web::uri::port is supposed to return either the port number or -1.
> int web::uri::port ( ) const
>inline
>Get the port component of the URI. Returns -1 if no port is specified.
>Returns
>The URI port as an integer.
However in practice, for instance:
```
web::uri wAddress(L"http://*/something:8080");
int wPortNumber = wAddress.port(); // <-- will return 0!
```
It returns 0 no matter what. Am I the only one experiencing this issue?
> int web::uri::port ( ) const
>inline
>Get the port component of the URI. Returns -1 if no port is specified.
>Returns
>The URI port as an integer.
However in practice, for instance:
```
web::uri wAddress(L"http://*/something:8080");
int wPortNumber = wAddress.port(); // <-- will return 0!
```
It returns 0 no matter what. Am I the only one experiencing this issue?