Lines Matching refs:SyncSocket
31 static const SyncSocket::Handle kInvalidHandle = INVALID_HANDLE_VALUE;
35 bool SyncSocket::CreatePair(SyncSocket* pair[2]) {
37 SyncSocket* tmp_sockets[2];
39 // Create the two SyncSocket objects first to avoid ugly cleanup issues.
40 tmp_sockets[0] = new SyncSocket(kInvalidHandle);
44 tmp_sockets[1] = new SyncSocket(kInvalidHandle);
101 bool SyncSocket::Close() {
110 size_t SyncSocket::Send(const void* buffer, size_t length) {
127 size_t SyncSocket::Receive(void* buffer, size_t length) {
143 size_t SyncSocket::Peek() {