USteamSocketsNetDriver

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

SteamSockets

Header

/Engine/Plugins/Runtime/Steam/SteamSockets/Source/SteamSockets/Public/SteamSocketsNetDriver.h

Include

#include "SteamSocketsNetDriver.h"

Syntax

[UCLASS](Programming/UnrealArchitecture/Reference/Classes#classdeclaration)(Transient, Config=Engine)
class USteamSocketsNetDriver : public UNetDriver

Variables

Name Description

Protected variable

bool

 

bIsDelayedNetworkAccess

Protected variable

FSteamSocket &#...

 

Socket

Constructors

Name Description

Public function

USteamSocketsNetDriver()

Functions

Name Description

Public function Const

bool

 

ArePacketHandlersDisabled()

Protected function

UNetConnecti...

 

FindClientConnectionForHandle

(
    SteamSocketHandles SocketHandle
)

Protected function

void

 

OnConnectionCreated

(
    SteamSocketHandles ListenParentHand...,
    SteamSocketHandles SocketHandle
)

Protected function

void

 

OnConnectionDisconnected

(
    SteamSocketHandles SocketHandle
)

Protected function

void

 

OnConnectionUpdated

(
    SteamSocketHandles SocketHandle,
    int32 NewState
)

Protected function

void

 

ResetSocketInfo

(
    const FSteamSocket* RemovedSoc...
)

Overridden from UNetDriver

Name Description

Public function Virtual

ISocketSubsy...

 

GetSocketSubsystem()

Get the socket subsytem appropriate for this net driver

Public function Virtual

bool

 

InitBase

(
    bool bInitAsClient,
    FNetworkNotify* InNotify,
    const FURL& URL,
    bool bReuseAddressAndPort,
    FString& Error
)

Common initialization between server and client connection setup

Public function Virtual

bool

 

InitConnect

(
    FNetworkNotify* InNotify,
    const FURL& ConnectURL,
    FString& Error
)

Initialize the net driver in client mode

Public function Virtual

bool

 

InitListen

(
    FNetworkNotify* InNotify,
    FURL& ListenURL,
    bool bReuseAddressAndPort,
    FString& Error
)

Initialize the network driver in server mode (listener)

Public function Virtual Const

bool

 

IsAvailable()

Returns true if this net driver is valid for the current configuration.

Public function Virtual

bool

 

IsNetResourceValid()

Public function Virtual

void

 

LowLevelDestroy()

Close socket and Free the memory the OS allocated for this socket

Public function Virtual

void

 

LowLevelSend

(
    TSharedPtr< const FInternetAddr > A...,
    void* Data,
    int32 CountBits,
    FOutPacketTraits& Traits
)

Sends a 'connectionless' (not associated with a UNetConection) packet, to the specified address.

Public function Virtual

void

 

Shutdown()

Shutdown all connections managed by this net driver

Public function Virtual

void

 

TickDispatch

(
    float DeltaTime
)

Handle time update: read and process packets

Overridden from UObject

Name Description

Public function Virtual

void

 

PostInitProperties()

Called after the C++ constructor and after the properties have been initialized, including those loaded from config.

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