CVB++ 15.0
NetworkConnection Class Reference

Basic network connection operations. More...

#include <cvb/network_connection.hpp>

Static Public Member Functions

static IPAddress ToIPAddress (const IPAddressUInt &ipAddressInt)
 Creates an IPAddress from the given uint ip . More...
 
static IPAddressUInt ToIPAddressUInt (const IPAddress &ip)
 Creates an uint ip . from the given IPAddress More...
 

Detailed Description

Basic network connection operations.

Member Function Documentation

◆ ToIPAddress()

static IPAddress ToIPAddress ( const IPAddressUInt ipAddressInt)
inlinestatic

Creates an IPAddress from the given uint ip .

Parameters
ipAddressIntIPv4 address as an uint.
Returns
New IPAddress.

◆ ToIPAddressUInt()

static IPAddressUInt ToIPAddressUInt ( const IPAddress ip)
inlinestatic

Creates an uint ip . from the given IPAddress

Parameters
ipIPv4 address as an IPAddress.
Returns
New IPAddressUInt.