1. James Lan
  2. pypesocket

Commits

James Lan  committed de74e84

Add 2 lines of comment

  • Participants
  • Parent commits 2c8201f
  • Branches dev

Comments (0)

Files changed (1)

File pypesocketwin.py

View file
  • Ignore whitespace
             # failed to connect, see if server isn't ready
             err = _kernel32.GetLastError()
             if err == _ERROR_FILE_NOT_FOUND:
+                # no instance of this pipe exists, error
                 return errno.ENOENT
             if err != _ERROR_PIPE_BUSY:
                 return str(err) # todo: should be meaningful text
-                # retry
+            # err == _ERROR_PIPE_BUSY, all instances are connected, retry
             time.sleep(timeout)
             timeout *= 2
         else: