Navigation
API > API/Plugins > API/Plugins/OnlineSubsystemUtils > API/Plugins/OnlineSubsystemUtils/UIpNetDriver > API/Plugins/OnlineSubsystemUtils/UIpNetDriver/FReceiveThreadRunnable
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 |
void SetSocket
(
const TSharedPtr < FSocket > & InGameThreadSocket,
UE::Net::Private::FSetSocketComplete InGameThreadSetCallback
)
Remarks
Sets the socket for the Receive Thread, and triggers a callback (if specified) on the Game Thread when this is complete.
Parameters
| Name | Description |
|---|---|
| InGameThreadSocket | The socket specified by the Game Thread |
| InGameThreadSetCallback | The callback to trigger on the Game Thread when the socket is set |