Navigation
API > API/Plugins > API/Plugins/SocketSubsystemEOS > API/Plugins/SocketSubsystemEOS/FSocketEOS
- FSocket::RecvFrom()
- FSocketEOS::RecvFrom()
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 RecvFrom
(
uint8 * Data,
int32 BufferSize,
int32 & BytesRead,
FInternetAddr & Source,
ESocketReceiveFlags::Type Flags
)
Remarks
Reads a chunk of data from the socket and gathers the source address.
A return value of 'true' does not necessarily mean that data was returned. Callers must check the 'BytesRead' parameter for the actual amount of data returned. A value of zero indicates that there was no data available for reading.