Navigation
API > API/Runtime > API/Runtime/Sockets > API/Runtime/Sockets/FSocket
References
| Module | Sockets |
| Header | /Engine/Source/Runtime/Sockets/Public/Sockets.h |
| Include | #include "Sockets.h" |
bool Wait
(
ESocketWaitConditions::Type Condition,
FTimespan WaitTime
)
Remarks
Blocks until the specified condition is met. true if the condition was met, false if the time limit expired or an error occurred.
Parameters
| Name | Description |
|---|---|
| Condition | The condition to wait for. |
| WaitTime | The maximum time to wait. |