Read into the given buffer up to bufferLen bytes data from this socket. Call connect() before calling recv()
Definition at line 207 of file PracticalSocket.cpp. Referenced by Impala::Core::Trec::TextSearchConnector::Query(), Impala::Application::Videolympics::VideolympicsClient::SendShot(), and Impala::Application::Videolympics::ServerConnector::Update(). 00208 { 00209 int rtn; 00210 if ((rtn = ::recv(sockDesc, (raw_type *) buffer, bufferLen, 0)) < 0) { 00211 throw SocketException("Received failed (recv())", true); 00212 } 00213 00214 return rtn; 00215 }
|