Terminate the SMB connection (if it has been started) and release any sources held by the underlying socket.
(self)
| 133 | return self.auth_result |
| 134 | |
| 135 | def close(self): |
| 136 | """ |
| 137 | Terminate the SMB connection (if it has been started) and release any sources held by the underlying socket. |
| 138 | """ |
| 139 | if self.sock: |
| 140 | self.sock.close() |
| 141 | self.sock = None |
| 142 | |
| 143 | def listShares(self, timeout = 30): |
| 144 | """ |