Replace peer_addr hack with flush hack. To determine whether other end has closed socket -- still can't figure out a better way to do this, and terminate immediately as `nc(1)` does.
Replace peer_addr hack with flush hack.
To determine whether other end has closed socket -- still can't figure
out a better way to do this, and terminate immediately as `nc(1)` does.

lukeasrodgers/rust-nc