Navigation
Unreal Engine C++ API Reference > Runtime > Sockets > ISocketSubsystem > CreateSocket
References
Module | Sockets |
Header | /Engine/Source/Runtime/Sockets/Public/SocketSubsystem.h |
Include | #include "SocketSubsystem.h" |
virtual FSocket &42; CreateSocket
&40;
const FName & SocketType,
const FString & SocketDescription,
bool bForceUDP
&41;
Remarks
Creates a socket
SocketType type of socket to create (DGram, Stream, etc) the new socket or NULL if failed
Parameters
Name | Description |
---|---|
SocketDescription | debug description |
bForceUDP | overrides any platform specific protocol with UDP instead |