My TCP Client does not seems to be able to receive the data send from server after the connection is being accepted by the server.
My TCP Server is seems to be able to received data from client. However after the receiving data from client, the Server seems to be able send back to client (using some filler print statements as check) , but the client just don't seems to be receiving the data from server.
I am new to Java TCP socket programming, could somebody please enlighten me on how to make them work properly. Thanks and Appreciate help given in advance.
Sorry about the long post, as I need to show some critical declarations and part of main code. this is done so that allow others to understand my code better. If this is done correctly, it should look like simple chat program over TCP.