Navigation
API > API/Runtime > API/Runtime/Sockets > API/Runtime/Sockets/ISocketSubsystem > API/Runtime/Sockets/ISocketSubsystem/CreateSocket
References
| Module | Sockets |
| Header | /Engine/Source/Runtime/Sockets/Public/SocketSubsystem.h |
| Include | #include "SocketSubsystem.h" |
FSocket * CreateSocket
(
const FName & SocketType,
const FString & SocketDescription,
const FName & ProtocolName
)
Remarks
Creates a socket using the given protocol name.
@Param 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. |