Hi All,I'm using a C++ client and server of different language.Using sockets for communication.After 10 - 15 hours of successful exchange of information a problem has occurred.Client seemed to send messages to server, but server didn't respond.After few hours, the client was killed.Suddenly, the server started dumping the messages towards client.I'm puzzled with this.What could be the problem?Traceroute between the machines hosting client & server has not indicated any problem with the connection.Any pointers will be of great help.Thanks,amelie
amelie
0
Newbie Poster
Recommended Answers
Jump to PostHi All,I'm using a C++ client and server of different language.Using sockets for communication.After 10 - 15 hours of successful exchange of information a problem has occurred.Client seemed to send messages to server, but server didn't respond.After few hours, the client was killed.Suddenly, the server started dumping the messages towards …
Jump to PostSounds more like a bug in the application rather than a general situation/error (faced by many/socket API error).
Check if this happened when a particular type of msg was sent by client (or server).>> Suddenly, the server started dumping the messages towards client.
My guess would be that …
Jump to PostWithout knowing the actual socket API that you are using, or the kind of socket that you are using, it is difficult to pin point the exact error. But most probably like the above replies say, a memory leak seems to be the best guess. The tools that you can …
All 10 Replies
Lazaro Claiborn
1
Junior Poster
amelie
0
Newbie Poster
thekashyap
193
Practically a Posting Shark
WolfPack
491
Posting Virtuoso
Team Colleague
Lazaro Claiborn
1
Junior Poster
thekashyap
193
Practically a Posting Shark
Lazaro Claiborn
1
Junior Poster
amelie
0
Newbie Poster
thekashyap
193
Practically a Posting Shark
amelie
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.