// Update is called once per frame void Update() { // sets blocking socket value SetBlockingSockets(blocking); // sets timeout values SetSendTimeout(sendTimeout); SetReceiveTimeout(receiveTimeout); // updates the client if (client.IsRunning()) { client.Update(); } }
// updates server public static void Update() { client.Update(); }