diff options
author | Jason Molenda <jmolenda@apple.com> | 2017-04-06 01:21:44 +0000 |
---|---|---|
committer | Jason Molenda <jmolenda@apple.com> | 2017-04-06 01:21:44 +0000 |
commit | 5ad5a9a384b1d5692505a47eb05fffd681a54107 (patch) | |
tree | ba4351ed45412d0cb656318040a35bf7bf74a0ff /include/lldb/Host/Socket.h | |
parent | 9636a35d3718a24d04ede051a677b7ae95efb3ab (diff) |
Change how UDP sockets are set up -- use the same one socket for
both sending and receiving information, instead of using one socket
to send and another to receive. The two socket arrangement fails over
when a firewall is between the two systems.
<rdar://problem/31286757>
git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@299608 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/lldb/Host/Socket.h')
-rw-r--r-- | include/lldb/Host/Socket.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/lldb/Host/Socket.h b/include/lldb/Host/Socket.h index ba0bc8a12..386133e96 100644 --- a/include/lldb/Host/Socket.h +++ b/include/lldb/Host/Socket.h @@ -71,8 +71,7 @@ public: static Error TcpConnect(llvm::StringRef host_and_port, bool child_processes_inherit, Socket *&socket); static Error UdpConnect(llvm::StringRef host_and_port, - bool child_processes_inherit, Socket *&send_socket, - Socket *&recv_socket); + bool child_processes_inherit, Socket *&socket); static Error UnixDomainConnect(llvm::StringRef host_and_port, bool child_processes_inherit, Socket *&socket); static Error UnixDomainAccept(llvm::StringRef host_and_port, |