客戶端發(fā)送socket.emit('chat message', '這個是消息內(nèi)容...'); 服務(wù)端會觸發(fā) chat message 事件, 請問服務(wù)端是怎么捕獲 chat message 事件名并觸發(fā)相應(yīng)的函數(shù)。。...