livelock in oob send recv

This commit is contained in:
tqchen 2014-11-28 21:58:15 -08:00
parent aa54a038f2
commit 98756c068a

View File

@ -273,7 +273,6 @@ class TCPSocket : public Socket{
*/
inline ssize_t Send(const void *buf_, size_t len, int flag = 0) {
const char *buf = reinterpret_cast<const char*>(buf_);
if (len == 0) return 0;
return send(sockfd, buf, static_cast<sock_size_t>(len), flag);
}
/*!