Versions in this module Expand all Collapse all v3 v3.3.4 Sep 30, 2024 Changes in this version + type NetConn struct + func Open(protocol, address string) (*NetConn, error) + func OpenTLS(protocol, address string) (*NetConn, error) + func (c *NetConn) Close() error + func (c *NetConn) Recv(N int) ([]byte, error) + func (c *NetConn) RecvFull(N int) ([]byte, error) + func (c *NetConn) RecvFullHex(N int) (string, error) + func (c *NetConn) RecvFullString(N int) (string, error) + func (c *NetConn) RecvHex(N int) (string, error) + func (c *NetConn) RecvString(N int) (string, error) + func (c *NetConn) Send(data string) error + func (c *NetConn) SendArray(data []interface{}) error + func (c *NetConn) SendHex(data string) error + func (c *NetConn) SetTimeout(value int)