Change how UDP sockets are set up -- use the same one socket for
authorJason Molenda <jmolenda@apple.com>
Thu, 6 Apr 2017 01:21:44 +0000 (01:21 +0000)
committerJason Molenda <jmolenda@apple.com>
Thu, 6 Apr 2017 01:21:44 +0000 (01:21 +0000)
commit90dce06f24e7a1587ffe15cd77ce64c508dc320a
treed3d6bba623a7445cd4799e8b8ecbcac6c81f5eb9
parent9cf881e62a7b38dc0bb3cb0f17b9214e0e1c899e
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>

llvm-svn: 299608
lldb/include/lldb/Host/Socket.h
lldb/include/lldb/Host/common/UDPSocket.h
lldb/source/Host/common/Socket.cpp
lldb/source/Host/common/UDPSocket.cpp
lldb/source/Host/posix/ConnectionFileDescriptorPosix.cpp