Skip to content

Commit

Permalink
Add UdpSocket peer_addr implementation for Wasm
Browse files Browse the repository at this point in the history
  • Loading branch information
LinusU committed Mar 16, 2019
1 parent 214110b commit 81d5fb5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/libstd/sys/wasm/net.rs
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,10 @@ impl UdpSocket {
unsupported()
}

pub fn peer_addr(&self) -> io::Result<SocketAddr> {
match self.0 {}
}

pub fn socket_addr(&self) -> io::Result<SocketAddr> {
match self.0 {}
}
Expand Down

0 comments on commit 81d5fb5

Please sign in to comment.