(&self, network: &Network)
| 207 | } |
| 208 | |
| 209 | pub fn blocking_bind_unspecified(&self, network: &Network) -> Result<(), ErrorCode> { |
| 210 | let ip = IpAddress::new_unspecified(self.address_family()); |
| 211 | let port = 0; |
| 212 | |
| 213 | self.blocking_bind(network, IpSocketAddress::new(ip, port)) |
| 214 | } |
| 215 | } |
| 216 | |
| 217 | impl OutgoingDatagramStream { |