Searched refs:this_socket (Results 1 – 1 of 1) sorted by relevance
407 MacAsyncSocket* this_socket = in MacAsyncSocketCallBack() local409 ASSERT(this_socket != NULL && this_socket->socket_ == s); in MacAsyncSocketCallBack()413 if (this_socket->disabled_) in MacAsyncSocketCallBack()423 if (this_socket->state_ == CS_CONNECTING) { in MacAsyncSocketCallBack()425 this_socket->SignalReadEvent(this_socket); in MacAsyncSocketCallBack()428 amt = ::recv(this_socket->native_socket_, &ch, 1, MSG_PEEK); in MacAsyncSocketCallBack()431 this_socket->state_ = CS_CLOSED; in MacAsyncSocketCallBack()434 CFSocketDisableCallBacks(this_socket->socket_, kCFSocketReadCallBack); in MacAsyncSocketCallBack()435 this_socket->current_callbacks_ &= ~kCFSocketReadCallBack; in MacAsyncSocketCallBack()436 this_socket->SignalCloseEvent(this_socket, 0); in MacAsyncSocketCallBack()[all …]