Navigation
API > API/Plugins > API/Plugins/SocketSubsystemEOS > API/Plugins/SocketSubsystemEOS/FSocketEOS
- FSocket::SetLinger()
- FSocketEOS::SetLinger()
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 SetLinger
&40;
bool bShouldLinger,
int32 Timeout
&41;
Remarks
Sets whether and how long a socket will linger after closing. true if the call succeeded, false otherwise.
Parameters
| Name | Description |
|---|---|
| bShouldLinger | Whether to have the socket remain open for a time period after closing or not. |
| Timeout | The amount of time to linger before closing. |