MayaFlux 0.2.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ socket_read()

static ssize_t Lila::socket_read ( int  fd,
void *  buf,
size_t  len 
)
static

Definition at line 52 of file Server.cpp.

53{
54#ifdef MAYAFLUX_PLATFORM_WINDOWS
55 // recv returns int
56 return recv(static_cast<SOCKET>(fd), static_cast<char*>(buf), static_cast<int>(len), 0);
57#else
58 return ::read(fd, buf, len);
59#endif
60}

Referenced by Lila::Server::read_message().

+ Here is the caller graph for this function: