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)
Change History (5)
by , 14 years ago
Attachment: | local_ipc.zip added |
---|
comment:1 by , 14 years ago
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 by , 14 years ago
Right now I'm in the middle of a full rebuild. Will check the new revision when this has completed...
comment:4 by , 14 years ago
Milestone: | Qt Enhanced → Qt 4.6.3 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Diff for qlocalserver_os2.cpp and qloaclsocket_os2.cpp