Find the answer to your Linux question:
Results 1 to 2 of 2
Hello experts. I have a real time issue with sockets. Actually we have C++ server and Java server and we connecting them through sockets. Both C++ and Java side we ...
  1. #1
    Just Joined!
    Join Date
    Feb 2005
    Posts
    2

    Red face Data missing through Sockets

    Hello experts. I have a real time issue with sockets. Actually we have C++ server and Java server and we connecting them through sockets. Both C++ and Java side we have server and client structure. I am from the C++ side actually.
    Actually the problem is that from C++ side has multiple clients in threads and are connected to C++ server through sockets also. We are getting right data. But while sending these data to the java server through sockets, java people are missing some of data. Its not frequent. I mean not missing continuously but some will be received and some missed. I don't know the reason for this. Please any body help in this regards and that's why more points.

  2. #2
    Just Joined!
    Join Date
    Oct 2008
    Posts
    30
    hi,
    Try to use wireshark and watch the checksum (checksum in IP and TCP / UDP )of the data you are sending.
    you can use wireshark in both side, from java side and c++ side, so that you can keep track of the data's sending and receiving. This may help you analysing the error.

    Sorry for the late rply. If you have already solved the problem, share it in forum how you have solved it so that it will helpful for others.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...