Versions in this module Expand all Collapse all v1 v1.0.0 Nov 18, 2025 Changes in this version + const Host + const Hypervisor + const Local + func ContextID() (uint32, error) + type Addr struct + ContextID uint32 + Port uint32 + func (a *Addr) Network() string + func (a *Addr) String() string + type Config struct + type Conn struct + func Dial(contextID, port uint32, cfg *Config) (*Conn, error) + func DialWithContext(ctx context.Context, contextID, port uint32, cfg *Config) (*Conn, error) + func (c *Conn) Close() error + func (c *Conn) CloseRead() error + func (c *Conn) CloseWrite() error + func (c *Conn) LocalAddr() net.Addr + func (c *Conn) Read(b []byte) (int, error) + func (c *Conn) RemoteAddr() net.Addr + func (c *Conn) SetDeadline(t time.Time) error + func (c *Conn) SetReadDeadline(t time.Time) error + func (c *Conn) SetWriteDeadline(t time.Time) error + func (c *Conn) SyscallConn() (syscall.RawConn, error) + func (c *Conn) Write(b []byte) (int, error) + type Listener struct + func FileListener(f *os.File) (*Listener, error) + func Listen(port uint32, cfg *Config) (*Listener, error) + func ListenContextID(contextID, port uint32, cfg *Config) (*Listener, error) + func (l *Listener) Accept() (net.Conn, error) + func (l *Listener) Addr() net.Addr + func (l *Listener) Close() error + func (l *Listener) SetDeadline(t time.Time) error