Navigation
API > API/Plugins > API/Plugins/SocketSubsystemEOS > API/Plugins/SocketSubsystemEOS/FSocketEOS
- FSocket::WaitForPendingConnection()
- FSocketEOS::WaitForPendingConnection()
References
| Module | SocketSubsystemEOS |
| Header | /Engine/Plugins/Online/SocketSubsystemEOS/Source/SocketSubsystemEOS/Public/SocketEOS.h |
| Include | #include "SocketEOS.h" |
| Source | /Engine/Plugins/Online/SocketSubsystemEOS/Source/SocketSubsystemEOS/Private/SocketEOS.cpp |
virtual bool WaitForPendingConnection
&40;
bool & bHasPendingConnection,
const FTimespan & WaitTime
&41;
Remarks
Waits for a pending connection on the socket. true if successful, false otherwise.
Parameters
| Name | Description |
|---|---|
| out | bHasPendingConnection Will indicate whether a connection is pending or not. |
| WaitTime | The maximum time to wait for a connection. If zero, the function will not wait and will return immediately with a value in bHasPendingConnection. |