public class Test1 { string BassCommand; //="abc\r\n"; SocketClient SClientObj = new SocketClient(); String IpAdd; public String Test() { bool temp = SClientObj.IsValidFormat(IpAdd); SClientObj.ConnectServer(); SClientObj.SendMessage(BassCommand); System.Threading.Thread.Sleep(5000); //SClientObj.WaitForData(); return SClientObj.FinalData; } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)