Add UdpSocket peer_addr implementation for L4Re

This commit is contained in:
Linus Unnebäck
2019-03-16 11:19:01 +00:00
parent 7e73cd48c4
commit 214110bb4c
+4 -1
View File
@@ -292,6 +292,10 @@ pub fn socket(&self) -> &Socket { &self.inner }
pub fn into_socket(self) -> Socket { self.inner }
pub fn peer_addr(&self) -> io::Result<SocketAddr> {
unimpl!();
}
pub fn socket_addr(&self) -> io::Result<SocketAddr> {
unimpl!();
}
@@ -463,4 +467,3 @@ fn try_from(_v: (&'a str, u16)) -> io::Result<LookupHost> {
}
}
}