Write the given buffer to this socket. Call connect() before calling send()
Definition at line 196 of file PracticalSocket.cpp. Referenced by Impala::Application::Videolympics::ServerConnector::Connect(), Impala::Core::Trec::TextSearchConnector::Query(), Impala::Application::Videolympics::VideolympicsClient::SendShot(), and Impala::Application::Videolympics::ServerConnector::Update(). 00197 { 00198 #ifdef WIN32 00199 if (::send(sockDesc, (raw_type *) buffer, bufferLen, 0) < 0) { 00200 #else 00201 if (::send(sockDesc, (raw_type *) buffer, bufferLen, MSG_NOSIGNAL) < 0) { 00202 #endif 00203 throw SocketException("Send failed (send())", true); 00204 } 00205 }
|