Re: Problem when connecting Java App with C++ App using Windows So

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



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)



.



Relevant Pages

  • c# socket and java socket
    ... communicate with java app,i select the socket as intermediate. ...
    (microsoft.public.vstudio.development)
  • Re: only one instance
    ... >> I want only one running instance of my app. ... > The obvious solution is to use the socket method of running a single ... (i have not yet seen java NOT clean up it's temp files) ...
    (comp.lang.java.programmer)
  • c# socket and java socket
    ... communicate with java app,i select the socket as intermediate. ...
    (microsoft.public.vstudio.general)
  • Java Network Programming FAQ
    ... Java Network Programming FAQ. ... How can I find out who is accessing my server? ... What are socket options, and why should I use them? ... How does servlet performance compare to applets? ...
    (comp.lang.java.programmer)
  • Java Network Programming FAQ
    ... Java Network Programming FAQ. ... How can I find out who is accessing my server? ... What are socket options, and why should I use them? ... How does servlet performance compare to applets? ...
    (comp.lang.java.programmer)