LLDB mainline
DomainSocketWindows.h
Go to the documentation of this file.
1//===----------------------------------------------------------------------===//
2//
3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4// See https://llvm.org/LICENSE.txt for license information.
5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6//
7//===----------------------------------------------------------------------===//
8
9#ifndef LLDB_HOST_WINDOWS_DOMAINSOCKETWINDOWS_H
10#define LLDB_HOST_WINDOWS_DOMAINSOCKETWINDOWS_H
11
13
14namespace lldb_private {
15
16/// \class DomainSocketWindows DomainSocketWindows.h
17/// "lldb/Host/windows/DomainSocketWindows.h"
18/// Windows implementation of the platform-specific parts of DomainSocket.
20public:
22
23 /// Create a connected pair of domain sockets. Windows has no socketpair(2),
24 /// so this is emulated with a transient listening socket.
25 static llvm::Expected<Pair> CreatePair();
26};
27
28} // namespace lldb_private
29
30#endif // LLDB_HOST_WINDOWS_DOMAINSOCKETWINDOWS_H
"lldb/Host/windows/DomainSocketWindows.h" Windows implementation of the platform-specific parts of Do...
static llvm::Expected< Pair > CreatePair()
Create a connected pair of domain sockets.
DomainSocket(NativeSocket socket, bool should_close)
DomainSocket(NativeSocket socket, bool should_close)
A class that represents a running process on the host machine.