| 132 | |
| 133 | |
| 134 | Try<Address> SocketImpl::peer() const |
| 135 | { |
| 136 | // TODO(benh): Cache this result so that we don't have to make |
| 137 | // unnecessary system calls each time. |
| 138 | return network::peer(get()); |
| 139 | } |
| 140 | |
| 141 | |
| 142 | Try<Address> SocketImpl::bind(const Address& address) |