MCPcopy
hub / github.com/tailscale/tailscale / WriteToUDPAddrPort

Method WriteToUDPAddrPort

types/nettype/nettype.go:36–36  ·  view source on GitHub ↗
([]byte, netip.AddrPort)

Source from the content-addressed store, hash-verified

34// write/read methods.
35type PacketConn interface {
36 WriteToUDPAddrPort([]byte, netip.AddrPort) (int, error)
37 ReadFromUDPAddrPort([]byte) (int, netip.AddrPort, error)
38 io.Closer
39 LocalAddr() net.Addr

Callers 15

listenRawDiscoMethod · 0.65
sendUDPNetcheckMethod · 0.65
sendUDPStdMethod · 0.65
WriteToUDPAddrPortMethod · 0.65
runDNSServerFunction · 0.65
sendUDPMethod · 0.65
NewServerFunction · 0.65
WriteBatchToMethod · 0.65
StandaloneMethod · 0.65
runSTUNFunction · 0.65
ReleaseMethod · 0.65

Implementers 3

blockForeverConnwgengine/magicsock/blockforever_conn.g
linuxBatchingConnnet/batching/conn_linux.go
conntstest/natlab/natlab.go

Calls

no outgoing calls

Tested by 1

runDNSServerFunction · 0.52