Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NBTTransport ¶
type NBTTransport struct {
// contains filtered or unexported fields
}
NBTTransport implements the Transport interface for NetBIOS over TCP Source: https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-cifs/45170055-a0cd-4910-9228-801d5bf7ac84
func NewNBTTransport ¶
func NewNBTTransport() *NBTTransport
NewNBTTransport creates a new NetBIOS over TCP transport
func (*NBTTransport) Close ¶
func (n *NBTTransport) Close() error
Close terminates the NetBIOS over TCP connection
func (*NBTTransport) Connect ¶
func (n *NBTTransport) Connect(ipaddr net.IP, port int) error
Connect establishes a NetBIOS over TCP connection
func (*NBTTransport) IsConnected ¶
func (n *NBTTransport) IsConnected() bool
IsConnected returns whether the NetBIOS transport is currently connected
func (*NBTTransport) Receive ¶
func (n *NBTTransport) Receive() ([]byte, error)
Receive reads data from the NetBIOS over TCP connection, handling the NetBIOS header
Click to show internal directories.
Click to hide internal directories.