TCP协议接口
use string instead of integer for type params