Skip to content

Commit 214110b

Browse files
committed
Add UdpSocket peer_addr implementation for L4Re
1 parent 7e73cd4 commit 214110b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/libstd/sys/unix/l4re.rs

+4-1
Original file line numberDiff line numberDiff line change
@@ -292,6 +292,10 @@ pub mod net {
292292

293293
pub fn into_socket(self) -> Socket { self.inner }
294294

295+
pub fn peer_addr(&self) -> io::Result<SocketAddr> {
296+
unimpl!();
297+
}
298+
295299
pub fn socket_addr(&self) -> io::Result<SocketAddr> {
296300
unimpl!();
297301
}
@@ -463,4 +467,3 @@ pub mod net {
463467
}
464468
}
465469
}
466-

0 commit comments

Comments
 (0)