def send_packet(self, data):
    p = NetBIOSSessionPacket()
    p.set_type(NETBIOS_SESSION_MESSAGE)
    p.set_trailer(data)
    self._sock.send(p.rawData())
def send_packet(self, data):
    p = NetBIOSSessionPacket()
    p.set_type(NETBIOS_SESSION_MESSAGE)
    p.set_trailer(data)
    self._sock.send(p.rawData())