'Creates a new directory *path* on the *service_name*.
:param string/unicode service_name: Contains the name of the shared folder.
:param string/unicode path: The path of the new folder (relative to) the shared folder.
If the path contains non-English characters, an unicode string must be used to pass in the path.
:return: None'

def createDirectory(self, service_name, path, timeout=30):

    if (not self.sock):
        raise NotConnectedError('Not    connected    to    server')
    def cb(r):
        self.is_busy = False
    def eb(failure):
        self.is_busy = False
        raise failure
    self.is_busy = True
    try:
        self._createDirectory(service_name, path, cb, eb, timeout=timeout)
        while self.is_busy:
            self._pollForNetBIOSPacket(timeout)
    finally:
        self.is_busy = False
