Lines Matching refs:SyncSocket
16 const SyncSocket::Handle SyncSocket::kInvalidHandle = -1;
18 SyncSocket::SyncSocket() : handle_(kInvalidHandle) {
21 SyncSocket::~SyncSocket() {
26 bool SyncSocket::CreatePair(SyncSocket* socket_a, SyncSocket* socket_b) {
30 bool SyncSocket::Close() {
39 size_t SyncSocket::Send(const void* buffer, size_t length) {
44 size_t SyncSocket::Receive(void* buffer, size_t length) {
49 size_t SyncSocket::ReceiveWithTimeout(void* buffer, size_t length, TimeDelta) {
54 size_t SyncSocket::Peek() {
63 : SyncSocket(handle) {
67 return SyncSocket::Send(buffer, length);
71 return SyncSocket::Close();
77 return SyncSocket::CreatePair(socket_a, socket_b);