Navigation
API > API/Runtime > API/Runtime/Sockets > API/Runtime/Sockets/ISocketSubsystem
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FUniqueSocket CreateUniqueSocket
(
const FName& SocketType, |
Creates a socket wrapped in a unique pointer that will call DestroySocket automatically - do not call it explicitly! This SocketSubsystem must also outlive the sockets it creates. | SocketSubsystem.h | |
FUniqueSocket CreateUniqueSocket
(
const FName& SocketType, |
Creates a socket using the given protocol name, wrapped in a unique pointer that will call DestroySocket automatically - do not call it explicitly! This SocketSubsystem must also outlive the sockets it creates. | SocketSubsystem.h |
CreateUniqueSocket(const FName &, const FString &, bool)
Description
Creates a socket wrapped in a unique pointer that will call DestroySocket automatically - do not call it explicitly! This SocketSubsystem must also outlive the sockets it creates.
@Param SocketType type of socket to create (DGram, Stream, etc)
| Name | CreateUniqueSocket |
| Type | function |
| Header File | /Engine/Source/Runtime/Sockets/Public/SocketSubsystem.h |
| Include Path | #include "SocketSubsystem.h" |
| Source | /Engine/Source/Runtime/Sockets/Private/SocketSubsystem.cpp |
FUniqueSocket CreateUniqueSocket
(
const FName & SocketType,
const FString & SocketDescription,
bool bForceUDP
)
the new socket or NULL if failed
Parameters
| Name | Remarks |
|---|---|
| SocketDescription | debug description |
| bForceUDP | overrides any platform specific protocol with UDP instead |
CreateUniqueSocket(const FName &, const FString &, const FName &)
Description
Creates a socket using the given protocol name, wrapped in a unique pointer that will call DestroySocket automatically - do not call it explicitly! This SocketSubsystem must also outlive the sockets it creates.
@Param SocketType type of socket to create (DGram, Stream, etc)
| Name | CreateUniqueSocket |
| Type | function |
| Header File | /Engine/Source/Runtime/Sockets/Public/SocketSubsystem.h |
| Include Path | #include "SocketSubsystem.h" |
| Source | /Engine/Source/Runtime/Sockets/Private/SocketSubsystem.cpp |
FUniqueSocket CreateUniqueSocket
(
const FName & SocketType,
const FString & SocketDescription,
const FName & ProtocolName
)
the new socket or NULL if failed
Parameters
| Name | Remarks |
|---|---|
| SocketDescription | debug description |
| ProtocolName | the name of the internet protocol to use for this socket. None should be handled. |