Sign in
android
/
platform
/
external
/
rust
/
crates
/
mio
/
refs/heads/main
/
.
/
src
/
sys
/
shell
/
udp.rs
blob: 6a48b6941d72d35d74352644a7d5dd6cebe69e9e [
file
] [
log
] [
blame
]
#![
cfg
(
not
(
target_os
=
"wasi"
))]
use
std
::
io
;
use
std
::
net
::{
self
,
SocketAddr
};
pub
fn
bind
(
_
:
SocketAddr
)
->
io
::
Result
<
net
::
UdpSocket
>
{
os_required
!()
}
pub
(
crate
)
fn
only_v6
(
_
:
&
net
::
UdpSocket
)
->
io
::
Result
<
bool
>
{
os_required
!()
}