Navigation
API > API/Runtime > API/Runtime/Sockets > API/Runtime/Sockets/ISocketSubsystem > API/Runtime/Sockets/ISocketSubsystem/CreateSocket
- ISocketSubsystem::CreateSocket()
- FSocketSubsystemEOS::CreateSocket()
- FSteamSocketsSubsystem::CreateSocket()
References
| Module | Sockets |
| Header | /Engine/Source/Runtime/Sockets/Public/SocketSubsystem.h |
| Include | #include "SocketSubsystem.h" |
FSocket &42; CreateSocket
&40;
const FName & SocketType,
const FString & SocketDescription,
const FName & ProtocolName
&41;
Remarks
Creates a socket using the given protocol name.
SocketType type of socket to create (DGram, Stream, etc) the new socket or NULL if failed
Parameters
| Name | Description |
|---|---|
| SocketDescription | debug description |
| ProtocolName | the name of the internet protocol to use for this socket. None should be handled. |