Choose your operating system:
Windows
macOS
Linux
| ISocketSubsystem | ||
| FTSTickerObjectBase | ||
| FSelfRegisteringExec
|
Module |
|
Header |
/Engine/Plugins/Runtime/Steam/SteamSockets/Source/SteamSockets/Public/SteamSocketsSubsystem.h |
Include |
#include "SteamSocketsSubsystem.h" |
class FSteamSocketsSubsystem :
public ISocketSubsystem,
public FTSTickerObjectBase,
public FSelfRegisteringExec
Steam Sockets specific socket subsystem implementation. This class can only be used with the SteamSocketsNetDriver and the SteamSocketsNetConnection classes. This subsystem does not support mixing any other NetDriver/NetConnection format. Doing so will cause this protocol to not function.
Name | Description | ||
---|---|---|---|
|
bShouldTestPeek |
Flag for testing peek messaging (only usable in non-shipping builds) |
|
|
bUseRelays |
Determines if the connections are going to be using the relay network |
|
|
LastSocketError |
Last error set by the socket subsystem or one of its sockets |
|
|
PendingListenerArray |
Array of listeners we need to activate. |
|
|
SocketInformationMap |
||
|
TSharedPtr< cla... |
SteamAPIClientHandle |
Steam Client API Handle |
|
TSharedPtr< cla... |
SteamAPIServerHandle |
Steam Server API Handle |
|
TUniquePtr< cla... |
SteamEventManager |
Event manager for Steam tasks |
|
SteamServerLoginDelegateHandle |
Delegate handle for handling when a dedicated server logs into the Steam platform. |
Name | Description | |
---|---|---|
|
FSteamSocketsSubsystem() |
Name | Description | ||
---|---|---|---|
|
AddDelayedListener ( |
Delayed listen socket helpers. |
|
|
AddSocket ( |
Steam socket bookkeeping modifiers. |
|
|
CleanSocketInformation ( |
||
|
FSteamSocket... |
Create() |
Singleton helpers. |
|
Destroy() |
||
|
DumpSocketInformationMap() |
||
|
TSharedPtr< ... |
GetIdentityAddress() |
Returns this machine's identity in the form of a FInternetAddrSteamSockets. |
|
FSteamSocket... |
GetSocketInfo ( |
Steam socket queriers. |
|
FSteamSocket... |
GetSocketInfo ( |
Steam socket queriers. |
|
ISteamNetwor... |
GetSteamSocketsInterface() |
|
|
IsLoggedInToSteam() |
Returns if our account is currently logged into the Steam network. |
|
|
IsSteamInitialized() |
Basic function to determine if Steam has been initialized properly. |
|
|
IsUsingRelayNetwork() |
Returns if the application is using the SteamSocket relays |
|
|
LinkNetDriver ( |
||
|
OnServerLoginComplete ( |
||
|
QueueRemoval ( |
||
|
RemoveSocketsForListener ( |
||
|
SteamSocketEventHandler ( |
SteamAPI internals handler. |
Name | Description | ||
---|---|---|---|
|
TSharedRef< ... |
CreateInternetAddr ( |
Create a FInternetAddr of the desired protocol |
|
TSharedRef< ... |
CreateInternetAddr() |
Create a proper FInternetAddr representation |
|
FSocket *... |
CreateSocket |
Creates a socket using the given protocol name. |
|
DestroySocket ( |
Cleans up a socket class |
|
|
TSharedPtr< ... |
GetAddressFromString ( |
Serializes a string that only contains an address. |
|
FAddressInfo... |
GetAddressInfo ( |
Gets the address information of the given hostname and outputs it into an array of resolvable addresses. |
|
GetHostName ( |
Determines the name of the local machine |
|
|
ESocketError... |
GetLastErrorCode() |
Returns the last error that has happened |
|
GetLocalAdapterAddresses ( |
Gets the list of addresses associated with the adapters on the local computer. |
|
|
GetLocalBindAddresses() |
Get bindable addresses that this machine can use as reported by GetAddressInfo with the BindableAddress flag. |
|
|
const TCHAR ... |
GetSocketAPIName() |
Get the name of the socket subsystem |
|
HasNetworkDevice() |
||
|
Init ( |
Does per platform initialization of the sockets library |
|
|
IsSocketWaitSupported() |
Returns true if FSocket::Wait is supported by this socket subsystem. |
|
|
RequiresChatDataBeSeparate() |
Some platforms require chat data (voice, text, etc.) to be placed into packets in a special way. |
|
|
RequiresEncryptedPackets() |
Some platforms require packets be encrypted. |
|
|
Shutdown() |
Performs platform specific socket clean up |
|
|
ESocketError... |
TranslateErrorCode ( |
Translates the platform error code to a ESocketErrors enum |
Name | Description | ||
---|---|---|---|
|
Exec ( |
Exec handler |
Name |
Description |
|
---|---|---|
|
FSteamPendingSocketInformation |
Structure for handling sockets that cannot be established due to platform login (for listener sockets) |
|
FSteamSocketInformation |
A struct for holding steam socket information and managing bookkeeping on the protocol. |
Name |
Description |
---|---|
SocketHandleInfoMap |
Active connection bookkeeping |
Name |
Description |
---|---|
SocketSingleton |
Single instantiation of this subsystem |