public void Update() { if (asyncSocketClient == null) { return; } while (true) { string data = asyncSocketClient.PopResponse(); if (data == null) { break; } OnReceiveSocketData(data); } }