Navigation
API > API/Runtime > API/Runtime/Sockets
Enumerates socket receive flags.
| Name | ESocketReceiveFlags::Type |
| Type | enum |
| Header File | /Engine/Source/Runtime/Sockets/Public/SocketTypes.h |
| Include Path | #include "SocketTypes.h" |
Syntax
namespace ESocketReceiveFlags
{
enum Type
{
None = 0,
Peek = 2,
WaitAll = 0x100,
}
}
Values
| Name | Remarks |
|---|---|
| None | Return as much data as is currently available in the input queue, up to the specified size of the receive buffer. |
| Peek | Copy received data into the buffer without removing it from the input queue. |
| WaitAll | Block the receive call until either the supplied buffer is full, the connection has been closed, the request has been canceled, or an error occurred. |