public bool Connect() { sock = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp); if (sock == null) { return(false); } try { op.Show(); sock.Connect("47.100.102.50", 28901);//39.104.106.202 thread = new Thread(new ParameterizedThreadStart(ThreadFun)); thread.Start(this); } catch { return(false); } return(true); }
public void setOutPut(OutPut _op) { pOut = _op; pOut.Show(); }
public void Show() { pOut.Show(); }