Use a variable for socketname.
Remove local server before connecting.
Move IPC to its own file.
Wait until socket bytes are written.
whitespace
Add an IPCError exception.
Error checking on connection.
Small cleanup.
Error handling when writing to running instance.
Actually start IPC server.
Add missing "return True" when connected.
Check errors correctly when connecting to socket.
Remove wrong 'self' argument.
Better IPC exceptions
Ignore QLocalSocket.ServerNotFoundError while connecting.
Fix check for QLocalSocket.UnknownSocketError
Add docstrings.