tcp to command