读取指定长度的数据, 指定时间内没有读到指定长度的数据,立即返回
port -- 端口
buf -- 读取到的数据保存buf
len -- 数据长度
timeout_ms -- 超时时间
int 实际读取到的数据长度