public void Send(string msg) { if (asyncTcpClient != null) { asyncTcpClient.AsynSend(msg); } }
public void Send(UIInput msgLabel) { if (asyncTcpClient != null) { asyncTcpClient.AsynSend(msgLabel.value); msgLabel.value = ""; } }