tcp Get and Set