Port Class
(Utils::Port)The Port class implements a wrapper around a 16 bit port number to be used in conjunction with IP addresses. More...
| Header: | #include <Port> |
Public Functions
| Port() | |
| Port(quint16 port) | |
| Port(int port) | |
| Port(uint port) | |
| bool | isValid() const |
| quint16 | number() const |
| QString | toString() const |
Detailed Description
The Port class implements a wrapper around a 16 bit port number to be used in conjunction with IP addresses.
Member Function Documentation
Port::Port()
Default constructs an instance of Port.
Port::Port(quint16 port)
Default constructs an instance of Port.
Port::Port(int port)
Default constructs an instance of Port.
Port::Port(uint port)
Default constructs an instance of Port.