ASIO: Windows/Linux/Mac socket inter-operability
Hi, I have a C/S-application that uses ASIO-sockets. The application runs fine if I try to connect between 2 Windows or 2 Linus or 2 Mac machineas. However, it fails to work with a "reset by peer" error if I try to connect between Windows and Linux, Windows and Mac or Linux and Mac. Is there anything known about problems wrt inter-os connections, and if so, is there a solution for this? TIA -- Groeten, Joost Kraaijeveld Molukkenstraat 14 6524NB Nijmegen tel: 024-3607445 / 06-51855277
2014-11-03 18:30 GMT+01:00 Joost Kraaijeveld
Hi,
I have a C/S-application that uses ASIO-sockets. The application runs fine if I try to connect between 2 Windows or 2 Linus or 2 Mac machineas. However, it fails to work with a "reset by peer" error if I try to connect between Windows and Linux, Windows and Mac or Linux and Mac. Is there anything known about problems wrt inter-os connections, and if so, is there a solution for this?
TIA
Can you clear there is no networking issue? I mean, can you normally open such sockets between "inter-racial" machines (with networking tools)?
On ma, 2014-11-03 at 18:33 +0100, Vincenzo Romano wrote:
Can you clear there is no networking issue? I mean, can you normally open such sockets between "inter-racial" machines (with networking tools)? I can telnet, ssh and see webpages from Windows to Linux and vice versa. Don't have a mac at hand to personally verify it, but I get reports from my students that the can browse.
TIA -- Groeten, Joost Kraaijeveld Molukkenstraat 14 6524NB Nijmegen tel: 024-3607445 / 06-51855277
2014-11-03 18:40 GMT+01:00 Joost Kraaijeveld
On ma, 2014-11-03 at 18:33 +0100, Vincenzo Romano wrote:
Can you clear there is no networking issue? I mean, can you normally open such sockets between "inter-racial" machines (with networking tools)? I can telnet, ssh and see webpages from Windows to Linux and vice versa. Don't have a mac at hand to personally verify it, but I get reports from my students that the can browse.
Then I would investigate the issue with tools like wireshark and application logging.
On 11/03/2014 06:30 PM, Joost Kraaijeveld wrote:
I have a C/S-application that uses ASIO-sockets. The application runs fine if I try to connect between 2 Windows or 2 Linus or 2 Mac machineas. However, it fails to work with a "reset by peer" error if I try to connect between Windows and Linux, Windows and Mac or Linux and Mac. Is there anything known about problems wrt inter-os connections, and if so, is there a solution for this?
No known issue. I suspect that the recipient cannot parse the exchanged data correctly.
On 11/03/2014 06:30 PM, Joost Kraaijeveld wrote: No known issue. I suspect that the recipient cannot parse the exchanged data correctly. Mmmm. Why should that only affect inter-os connections? It is just 1
On ma, 2014-11-03 at 18:40 +0100, Bjorn Reese wrote: program, 1 source base, compiled multi-platformed...
On 11/03/2014 06:44 PM, Joost Kraaijeveld wrote:
Mmmm. Why should that only affect inter-os connections? It is just 1 program, 1 source base, compiled multi-platformed...
It depends on the exchange format that you use. If it is binary, and you have made no special encoding, then it could be an 32 vs 64 bit issue, alignment/padding, or endianess.
2014-11-03 18:54 GMT+01:00 Bjorn Reese
On 11/03/2014 06:44 PM, Joost Kraaijeveld wrote:
Mmmm. Why should that only affect inter-os connections? It is just 1 program, 1 source base, compiled multi-platformed...
It depends on the exchange format that you use. If it is binary, and you have made no special encoding, then it could be an 32 vs 64 bit issue, alignment/padding, or endianess.
... I would skip the endianess issue, at least for the Linux/Windows mismatch. I still recommend to use tools like wireshark to inspect the actual handshake and communication stream.
participants (3)
-
Bjorn Reese
-
Joost Kraaijeveld
-
Vincenzo Romano