20.02
|
Functions | |
bool | Initialize () |
Performs any required one-time setup. More... | |
int | Close (Socket s) |
bool | SetNonBlocking (Socket s) |
long | Write (Socket s, const void *buf, size_t len) |
long | Read (Socket s, void *buf, size_t len) |
int | Ioctl (Socket s, unsigned long int cmd, void *arg) |
int | Poll (PollFd *fds, nfds_t numFds, int timeout) |
armnnUtils::Sockets::Socket | Accept (Socket s, sockaddr *addr, socklen_t *addrlen, int flags) |
Socket Accept | ( | Socket | s, |
sockaddr * | addr, | ||
socklen_t * | addrlen, | ||
int | flags | ||
) |
Definition at line 91 of file NetworkSockets.cpp.
Referenced by GatordMockService::BlockForOneClient().
int Close | ( | Socket | s | ) |
Definition at line 28 of file NetworkSockets.cpp.
Referenced by SocketProfilingConnection::Close(), FileOnlyProfilingConnection::FileOnlyProfilingConnection(), GatordMockService::LaunchReceivingThread(), and GatordMockService::~GatordMockService().
bool Initialize | ( | ) |
Performs any required one-time setup.
Definition at line 18 of file NetworkSockets.cpp.
Referenced by GatordMockService::OpenListeningSocket(), and SocketProfilingConnection::SocketProfilingConnection().
int Ioctl | ( | Socket | s, |
unsigned long int | cmd, | ||
void * | arg | ||
) |
Definition at line 69 of file NetworkSockets.cpp.
Referenced by SocketProfilingConnection::ReadPacket(), and GatordMockService::WaitCommand().
int Poll | ( | PollFd * | fds, |
nfds_t | numFds, | ||
int | timeout | ||
) |
Definition at line 81 of file NetworkSockets.cpp.
Referenced by SocketProfilingConnection::ReadPacket(), and GatordMockService::WaitCommand().
long Read | ( | Socket | s, |
void * | buf, | ||
size_t | len | ||
) |
Definition at line 60 of file NetworkSockets.cpp.
Referenced by SocketProfilingConnection::ReadPacket(), GatordMockService::WaitCommand(), and GatordMockService::WaitForStreamMetaData().
bool SetNonBlocking | ( | Socket | s | ) |
Definition at line 38 of file NetworkSockets.cpp.
Referenced by GatordMockService::LaunchReceivingThread(), and SocketProfilingConnection::SocketProfilingConnection().
long Write | ( | Socket | s, |
const void * | buf, | ||
size_t | len | ||
) |
Definition at line 50 of file NetworkSockets.cpp.
Referenced by InferenceTestImage::GetSizeInBytes(), GatordMockService::WaitCommand(), and SocketProfilingConnection::WritePacket().