代碼如下,服務器端會在3秒內(nèi)多次返回數(shù)據(jù),我想讓下面的循環(huán)超過3秒后終止掉,請問該怎樣處理? while ($mes = socket_read($socket, 1024)) {//xxxxx } 查看完整描述