Navigation
API > API/Plugins > API/Plugins/OnlineSubsystemUtils > API/Plugins/OnlineSubsystemUtils/UIpNetDriver
References
| Module | OnlineSubsystemUtils |
| 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
)
Remarks
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.
Parameters
| Name | Description |
|---|---|
| ProtocolType | an FName that represents the protocol to allocate the new socket under. Typically set to None or a value in FNetworkProtocolTypes |