| 123 | |
| 124 | |
| 125 | Try<Address> SocketImpl::peer() const |
| 126 | { |
| 127 | // TODO(benh): Cache this result so that we don't have to make |
| 128 | // unnecessary system calls each time. |
| 129 | return network::peer(get()); |
| 130 | } |
| 131 | |
| 132 | |
| 133 | Try<Address> SocketImpl::bind(const Address& address) |