libnick 2025.1.0
A cross-platform base for native Nickvision applications.
Loading...
Searching...
No Matches
Nickvision::Network Namespace Reference

Namespaces

namespace  DNS
 
namespace  Web
 

Classes

class  CurlEasy
 An object for making easy curl requests. More...
 
class  IPv4Address
 A model of an IPv4 address. More...
 
class  MacAddress
 A model of a MAC address. More...
 
class  NetworkMonitor
 A monitor of the system's network connection. More...
 
class  NetworkStateChangedEventArgs
 An event argument for when the network state is changed. More...
 
class  Socket
 A network socket (an endpoint for communication). More...
 

Typedefs

using CurlProgressFunction = std::function<int(curl_off_t dltotal, curl_off_t dlnow, curl_off_t ultotal, curl_off_t ulnow)>
 

Enumerations

enum class  AddressFamily { Pipe , Unix = AF_UNIX , IPv4 = AF_INET }
 Type of address that can be used by a socket. More...
 
enum class  NetworkState { Disconnected = 0 , ConnectedLocal , ConnectedGlobal }
 States of a network connection. More...
 
enum class  SocketPurpose { Server , Client }
 Purposes of sockets. More...
 
enum class  SocketType { Stream = SOCK_STREAM , Datagram = SOCK_DGRAM , SequencedPacket }
 Type of sockets. More...
 

Typedef Documentation

◆ CurlProgressFunction

using Nickvision::Network::CurlProgressFunction = std::function<int(curl_off_t dltotal, curl_off_t dlnow, curl_off_t ultotal, curl_off_t ulnow)>

Enumeration Type Documentation

◆ AddressFamily

Type of address that can be used by a socket.

Enumerator
Pipe 
Unix 
IPv4 

◆ NetworkState

States of a network connection.

Enumerator
Disconnected 

The network is disconnected.

ConnectedLocal 

The network is connected locally.

ConnectedGlobal 

The network is connected globally.

◆ SocketPurpose

Purposes of sockets.

Enumerator
Server 
Client 

◆ SocketType

Type of sockets.

Enumerator
Stream 
Datagram 
SequencedPacket