UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FSocketSubsystemMac Class Reference

#include <SocketSubsystemMac.h>

+ Inheritance diagram for FSocketSubsystemMac:

Public Member Functions

 FSocketSubsystemMac ()
 
virtual ~FSocketSubsystemMac ()
 
virtual bool Init (FString &Error) override
 
virtual void Shutdown () override
 
virtual bool HasNetworkDevice () override
 
virtual bool GetLocalAdapterAddresses (TArray< TSharedPtr< FInternetAddr > > &OutAddresses) override
 

Protected Member Functions

virtual class FSocketBSD * InternalBSDSocketFactory (SOCKET Socket, ESocketType SocketType, const FString &SocketDescription, const FName &SocketProtocol)
 

Static Protected Member Functions

static void Destroy ()
 

Protected Attributes

bool bTriedToInit
 
PACKAGE_SCOPE : static FSocketSubsystemMac* Create()
 

Static Protected Attributes

static FSocketSubsystemMacSocketSingleton = NULL
 

Detailed Description

Mac specific socket subsystem implementation

Constructor & Destructor Documentation

◆ FSocketSubsystemMac()

FSocketSubsystemMac::FSocketSubsystemMac ( )
inline

◆ ~FSocketSubsystemMac()

virtual FSocketSubsystemMac::~FSocketSubsystemMac ( )
inlinevirtual

Member Function Documentation

◆ Destroy()

void FSocketSubsystemMac::Destroy ( )
staticprotected

Performs Mac specific socket clean up

◆ GetLocalAdapterAddresses()

bool FSocketSubsystemMac::GetLocalAdapterAddresses ( TArray< TSharedPtr< FInternetAddr > > &  OutAddresses)
overridevirtual

◆ HasNetworkDevice()

bool FSocketSubsystemMac::HasNetworkDevice ( )
overridevirtual
Returns
Whether the machine has a properly configured network device or not

◆ Init()

bool FSocketSubsystemMac::Init ( FString &  Error)
overridevirtual

Does Mac platform initialization of the sockets library

Parameters
Errora string that is filled with error information
Returns
true if initialized ok, false otherwise

◆ InternalBSDSocketFactory()

class FSocketBSD * FSocketSubsystemMac::InternalBSDSocketFactory ( SOCKET  Socket,
ESocketType  SocketType,
const FString &  SocketDescription,
const FName SocketProtocol 
)
protectedvirtual

Allows a subsystem subclass to create a FSocketBSD sub class

◆ Shutdown()

void FSocketSubsystemMac::Shutdown ( void  )
overridevirtual

Performs platform specific socket clean up

Member Data Documentation

◆ __pad0__

PACKAGE_SCOPE FSocketSubsystemMac::__pad0__
protected

◆ bTriedToInit

bool FSocketSubsystemMac::bTriedToInit
protected

Whether Init() has been called before or not

◆ SocketSingleton

FSocketSubsystemMac * FSocketSubsystemMac::SocketSingleton = NULL
staticprotected

Single instantiation of this subsystem


The documentation for this class was generated from the following files: