Re: Problem when connecting Java App with C++ App using Windows So
- From: Kevin LZJ <KevinLZJ@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 28 May 2009 23:11:01 -0700
Hi, Remy,
For the same WAN environment which socket error problem between the 2
Apps occured, we did make such a test : put the C++ client and Java Server in
same computer, they work well, and C++ client connect to another C++ server
across the WAN, the C++ client and C++ Server work well too. So, we don't
think this is due to network issue. Only 2 possible reason we can imagine:
first, maybe the Java App program problem (as you suggested), the other is
the cooperation issue between C++ socket and Java socket (both are in Windows
environment), but you suggested that this should not be a issue.
"Remy Lebeau" wrote:
.
"Kevin LZJ" <KevinLZJ@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:5B6FDAF4-3070-4B12-B304-8A8517345175@xxxxxxxxxxxxxxxx
The developer of Java App did use some a network-packet-catch
tool (Ethereal) to check why the Java app often detects socket error.
As he said, there was a TCP Ack packet lost when error occurs.
However, becuase both C++ and Java are on the socket layer (not
the TCP low layer), we don't know why TCP Ack packet lost.
Those kind of issues are at the OS networking level, not at the application
level. There is nothing you can do about them at the application level.
You have a networking issue, not a coding issue.
--
Remy Lebeau (TeamB)
- References:
- Problem when connecting Java App with C++ App using Windows Socket
- From: Kevin LZJ
- Re: Problem when connecting Java App with C++ App using Windows Socket
- From: Luke Alcatel
- Re: Problem when connecting Java App with C++ App using Windows So
- From: Kevin LZJ
- Re: Problem when connecting Java App with C++ App using Windows So
- From: Remy Lebeau
- Problem when connecting Java App with C++ App using Windows Socket
- Prev by Date: Extended RPC error information [RPC over SChannel]
- Previous by thread: Re: Problem when connecting Java App with C++ App using Windows So
- Next by thread: Extended RPC error information [RPC over SChannel]
- Index(es):
Relevant Pages
|