Clapkit
Loading...
Searching...
No Matches
ckNetworking.h File Reference
#include "ckTypes.h"
#include <MacTCP.h>
#include <array>

Go to the source code of this file.

Namespaces

namespace  CKNetworking
 Networking (MacTCP) functionality globals.
 

Typedefs

using CKIPAddress = std::array< unsigned char, 4 >
 

Functions

bool CKNetworking::IsAvailable ()
 Check if MacTCP is installed and available.
 
bool CKNetworking::IsInitialized ()
 Check if networking has been initialized by calling Initialize
 
CKError CKNetworking::Initialize ()
 Try to open the MacTCP driver.
 
bool CKNetworking::Deinitialize ()
 
void CKNetworking::Loop (std::vector< CKNetBaseSocket * > sockets)
 
CKIPAddress CKNetworking::GetLocalIP ()
 Return the IP Address of the current device.
 
CKError CKNetworking::ResolveName (const char *hostname, CKIPAddress *result)
 
short CKNetworking::GetDriverRefNum ()
 

Typedef Documentation

◆ CKIPAddress

using CKIPAddress = std::array<unsigned char, 4>