You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
let credential = URLCredential(user: user, password: password, persistence: URLCredential.Persistence.forSession)
client = AMSMB2(url: self.serverURL, credential: credential)!
// AMSMB2 can handle queueing connection requests
client?.connectShare(name: self.share) { error in
if let error = error {
print("SMBClient ConnectShare",error);
}
}
The above is the code for initializing and connecting SMB. I want to know which thread this is running on? How can I set it to run on other threads? Can I use multiple threads to read files?
The text was updated successfully, but these errors were encountered:
The above is the code for initializing and connecting SMB. I want to know which thread this is running on? How can I set it to run on other threads? Can I use multiple threads to read files?
The text was updated successfully, but these errors were encountered: