Opened 14 years ago

Closed 14 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 14 years ago.
Diff for qlocalserver_os2.cpp and qloaclsocket_os2.cpp

Download all attachments as: .zip

Change History (5)

Changed 14 years ago by rudi

Attachment: local_ipc.zip added

Diff for qlocalserver_os2.cpp and qloaclsocket_os2.cpp

comment:1 Changed 14 years ago by Dmitry A. Kuminov

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 14 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 14 years ago by rudi

O.K. looks good to me.

comment:4 Changed 14 years ago by Dmitry A. Kuminov

Milestone: Qt EnhancedQt 4.6.3
Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.