Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PerroEngine/Perro
/ local_addr
Method
local_addr
perro_source/api_modules/perro_networking/src/udp.rs:27–29 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
25
}
26
27
pub fn local_addr(&self) -> SocketAddr {
28
self.local
29
}
30
31
pub fn send_to<A: ToSocketAddrs>(&self, bytes: &[u8], addr: A) -> NetResult<usize> {
32
let addr = first_addr(addr)?;
Callers
9
bind
Method · 0.45
tcp_host_addr
Method · 0.45
udp_addr
Method · 0.45
websocket_host_addr
Method · 0.45
start_multi
Method · 0.45
udp_endpoint_sends_loopback_packet
Function · 0.45
tcp_host_accepts_and_reads_loopback_data
Function · 0.45
tcp_frame_event_reads_loopback_frame_and_heartbeat
Function · 0.45
bind_web_dev_listener_bumps_busy_port
Function · 0.45
Calls
no outgoing calls
Tested by
5
start_multi
Method · 0.36
udp_endpoint_sends_loopback_packet
Function · 0.36
tcp_host_accepts_and_reads_loopback_data
Function · 0.36
tcp_frame_event_reads_loopback_frame_and_heartbeat
Function · 0.36
bind_web_dev_listener_bumps_busy_port
Function · 0.36