Documentation
¶
Overview ¶
Package adbnet implements helpers for making connections throughand listening on the target device.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Dial ¶
Dial calls Dialer.Dial.
Types ¶
type Dialer ¶
type Dialer struct { // Server is the device to connect through. It must not be nil. Server adb.Dialer }
Dialer is like net.Dialer.
It currently supports the networks "tcp" and "unix". It also supports "tcp4" and "tcp6", but not if a hostname is used.
Note that adbd has a tendency to hang if a unix socket misbehaves, requiring a reboot, so I recommend against using them unless you must (it'd be better to start a process which proxies to it). See b/418203510.
func (*Dialer) Dial ¶
Dial is like net.Dialer.Dial.
func (*Dialer) DialContext ¶
Dial is like net.Dialer.DialContext.
Click to show internal directories.
Click to hide internal directories.