Adds tcp ClientSocket functionality

- Constructor taking a port
- RecvAny to receive at least one byte or return an empty message on
  error
- Makes closed() thread safe and marks the socket closed on a bad
  receive as well

BUG: 72654144

Change-Id: Icd25ada3a766eedd17a774bbe4904202ed2fdd3b
2 files changed
tree: bf9801ec74c55b70f502301791704ebb8af0f7cc
  1. common/
  2. guest/
  3. host/
  4. tools/
  5. Android.bp
  6. Android.mk
  7. OWNERS