How to find an error in a tcp server application for which there is no source code

  softwareengineering

I have a c++/cli tcp client application sending a data in a specific format like L,20100930033425093,-5.929958,13.164021
to a main application on port 9000.The main application is actually done by the other vendor and I dont have the source code for that.

Now,I can communicate to the desired application using the IP and Port No.But the data supposed to be visible on the Main Application GUI is not showing up. But I used a different socket server demo application with same IP as the main application to receive the data I am sending.It works perfectly fine. Now I do not know where the error is or whether the stream is received on the other side. How can I effectively solve this situation. I am asking this in a broader picture to get some ideas.

Any suggestions or discussion on this will be helpful?

Try the following:

  1. Check your data. Are you sure it’s the right format? Sorry for being Captain Obvious, but I regularly forget to include important, but invisble, characters like linebreaks, null bytes, etc.

  2. Use Wireshark to look at what your application sends and what the demo application sends. If your message shows up in Wireshark you can also be pretty sure it will reach its destination, since you’re using TCP.

  3. Ask the main application vendor for support, if at all possible. Send them a sample script showing how you connect to their server and what data you are transmitting.

4

It is not your job to find the error, this is the duty of the other vendor.

All you have to do is to report the bug with as many relevant information as possible. For that, you may want to follow Joel’s advices:

Every good bug report needs exactly three things.

  1. Steps to reproduce,
  2. What you expected to see, and
  3. What you saw instead.

2

Theme wordpress giá rẻ Theme wordpress giá rẻ Thiết kế website Kho Theme wordpress Kho Theme WP Theme WP

LEAVE A COMMENT