Okay, first thing that is missing in your VIs is that the amount of bytes you read from the TCP, at the moment it is zero.
Wire in lan2.vi at the TCP Read VI the value of amount of bytes to read. When you put there for example "4" and you use lan1.vi at Command "test", it works for me.
Don't forget to put the same ports on both VIs.