Navigation
API > API/Runtime > API/Runtime/Sockets > API/Runtime/Sockets/ISocketSubsystem
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FSocket * CreateSocket
(
const FName& SocketType, |
Creates a socket@Param SocketType type of socket to create (DGram, Stream, etc) | SocketSubsystem.h | |
virtual FSocket * CreateSocket
(
const FName& SocketType, |
Creates a socket@Param SocketType type of socket to create (DGram, Stream, etc) | SocketSubsystem.h | |
FSocket * CreateSocket
(
const FName& SocketType, |
Creates a socket using the given protocol name. | SocketSubsystem.h |
CreateSocket(const FName &, const FString &, bool)
Description
Creates a socket
@Param SocketType type of socket to create (DGram, Stream, etc)
| Name | CreateSocket |
| Type | function |
| Header File | /Engine/Source/Runtime/Sockets/Public/SocketSubsystem.h |
| Include Path | #include "SocketSubsystem.h" |
virtual FSocket * CreateSocket
(
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 |
CreateSocket(const FName &, const FString &, ESocketProtocolFamily)
Description
Creates a socket
@Param SocketType type of socket to create (DGram, Stream, etc)
| Name | CreateSocket |
| Type | function |
| Header File | /Engine/Source/Runtime/Sockets/Public/SocketSubsystem.h |
| Include Path | #include "SocketSubsystem.h" |
virtual FSocket * CreateSocket
(
const FName & SocketType,
const FString & SocketDescription,
ESocketProtocolFamily ProtocolType
)
the new socket or NULL if failed
Parameters
| Name | Remarks |
|---|---|
| SocketDescription | debug description |
| ProtocolType | the socket protocol to be used. Each subsystem must handle the None case and output a valid socket regardless. |
CreateSocket(const FName &, const FString &, const FName &)
Description
Creates a socket using the given protocol name.
@Param SocketType type of socket to create (DGram, Stream, etc)
| Name | CreateSocket |
| Type | function |
| Header File | /Engine/Source/Runtime/Sockets/Public/SocketSubsystem.h |
| Include Path | #include "SocketSubsystem.h" |
FSocket * CreateSocket
(
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. |