Skip to content

Commit

Permalink
Add UdpSocket peer_addr implementation for L4Re
Browse files Browse the repository at this point in the history
  • Loading branch information
LinusU committed Mar 16, 2019
1 parent 7e73cd4 commit 214110b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/libstd/sys/unix/l4re.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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!();
}
Expand Down Expand Up @@ -463,4 +467,3 @@ pub mod net {
}
}
}

0 comments on commit 214110b

Please sign in to comment.