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
No known key found for this signature in database
GPG key ID: CE70CEAE9C0FA66F

View file

@ -292,6 +292,10 @@ pub mod net {
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 @@ pub mod net {
}
}
}