The one thing that I do know is that it took some one literally 3 times as long to do the program in C++ than in Java. Probably because Java has alot of it already preformatted while in C++, you have to fool around with sockets.
I absolutely hate doing any network/database programming with C++. I run into so many problems. Whenever I use dynamically allocated strings or arrays with sockets, either not enough data is sent through the socket or junk data is sent through at the end of my data even if I determine what size the message is goign to be. So frustrating!!! And, if i decide to use buffers instead, I would be using more resources than I would need in almost each messgae (since each message would be of the same size).