Hi...I've been trying to implement serialization. Here is the code: Server Code and Message code:
What I am trying to do here is to change the value of Message.type and send it over to the client. but when I run this program, the client always prints the first value of m1 that is 3, 200. What could be wrong?