Navigation
API > API/Runtime > API/Runtime/Sockets > API/Runtime/Sockets/FSocket
- FSocket::Wait()
- FSocketEOS::Wait()
References
| Module | Sockets |
| Header | /Engine/Source/Runtime/Sockets/Public/Sockets.h |
| Include | #include "Sockets.h" |
bool Wait
&40;
ESocketWaitConditions::Type Condition,
FTimespan WaitTime
&41;
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. |