Opened 9 years ago

Closed 9 years ago

#166 closed defect (fixed)

Arora web browser cannot locate to existing instance

Reported by: rudi Owned by:
Priority: major Milestone: Qt 4.6.3
Component: QtNetwork Version: 4.6.2
Severity: low Keywords:
Cc:

Description

The Arora web browser is using local IPC to detect if it is already running and to pass command line arguments along. This will fail on OS/2.

The reason for that is that OS/2's TCP/IP does not fully support the PF_UNIX protocol family. Thus the implementation of QLocalServer and QLocalSocket does not work.

The suggested fix is basically a combination of the mechanism used under Windows (pipes) with the name syntax required by OS/2's TCP/IP (
socket
....)

Attachments (1)

local_ipc.zip (1.7 KB) - added by rudi 9 years ago.
Diff for qlocalserver_os2.cpp and qloaclsocket_os2.cpp

Download all attachments as: .zip

Change History (5)

Changed 9 years ago by rudi

Diff for qlocalserver_os2.cpp and qloaclsocket_os2.cpp

comment:1 Changed 9 years ago by dmik

Thank you for the patch, Rudi. I now recall that I had to do the same thing for Mozilla IPC to make it work on OS/2.

I applied your patch slightly optimized in r755, please check. The local tests (localfortuneserver/localfortuneclient examples) show that everything works as designed now.

comment:2 Changed 9 years ago by rudi

Right now I'm in the middle of a full rebuild. Will check the new revision when this has completed...

comment:3 Changed 9 years ago by rudi

O.K. looks good to me.

comment:4 Changed 9 years ago by dmik

  • Milestone changed from Qt Enhanced to Qt 4.6.3
  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.