Module |
|
Header |
/Engine/Plugins/Online/OnlineSubsystemUtils/Source/OnlineSubsystemUtils/Classes/IpNetDriver.h |
Include |
#include "IpNetDriver.h" |
Source |
/Engine/Plugins/Online/OnlineSubsystemUtils/Source/OnlineSubsystemUtils/Private/IpNetDriver.cpp |
virtual FUniqueSocket CreateSocketForProtocol
(
const FName & ProtocolType
)
Creates a socket set up for communication using the given protocol. This allows for explicit creation instead of inferring type for you.
an FSocket if creation succeeded, nullptr if creation failed.
Parameter |
Description |
---|---|
ProtocolType |
an FName that represents the protocol to allocate the new socket under. Typically set to None or a value in FNetworkProtocolTypes |