FSocketSubsystemModule

Socket subsystem module class Wraps the loading of an socket subsystem by name and allows new services to register themselves for use

Windows
MacOS
Linux

Inheritance Hierarchy

IModuleInterface

FSocketSubsystemModule

References

Module

Sockets

Header

/Engine/Source/Runtime/Sockets/Public/SocketSubsystemModule.h

Include

#include "SocketSubsystemModule.h"

Syntax

class FSocketSubsystemModule : public IModuleInterface

Remarks

Socket subsystem module class Wraps the loading of an socket subsystem by name and allows new services to register themselves for use

Constructors

Name Description

Public function

FSocketSubsystemModule()

Destructors

Name Description

Public function Virtual

~FSocketSubsystemModule()

Functions

Name Description

Public function Virtual

ISocketSubsy...

 

GetSocketSubsystem

(
    const FName InSubsystemName
)

Main entry point for accessing a socket subsystem by name Will load the appropriate module if the subsystem isn't currently loaded It's possible that the subsystem doesn't exist and therefore can return NULL

Public function Virtual

void

 

RegisterSocketSubsystem

(
    const FName FactoryName,
    ISocketSubsystem* Factory,
    bool bMakeDefault
)

Register a new socket subsystem interface with the base level factory provider

Public function Virtual

void

 

UnregisterSocketSubsystem

(
    const FName FactoryName
)

Unregister an existing online subsystem interface from the base level factory provider

Overridden from IModuleInterface

Name Description

Public function Virtual

void

 

ShutdownModule()

Called before the module is unloaded, right before the module object is destroyed.

Public function Virtual

void

 

StartupModule()

Called right after the module DLL has been loaded and the module object has been created Overloaded to allow the default subsystem a chance to load

Public function Virtual

bool

 

SupportsAutomaticShutdown()

Override this to set whether your module would like cleanup on application shutdown

Public function Virtual

bool

 

SupportsDynamicReloading()

Override this to set whether your module is allowed to be unloaded on the fly

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss