Can I just simply make TCP socket connection and send formatted strings? In general cases what should the formatted string be?