// Token: 0x06000937 RID: 2359 RVA: 0x0004441D File Offset: 0x0004261D public static TcpClient CreateSocket() { TcpClient tcpClient = new TcpClient(AddressFamily.InterNetwork); ZSocket2.ConfigureSocket(tcpClient); return(tcpClient); }
// Token: 0x06000942 RID: 2370 RVA: 0x00044908 File Offset: 0x00042B08 public ISocket Accept() { if (this.m_listner == null) { return(null); } if (!this.m_listner.Pending()) { return(null); } TcpClient socket = this.m_listner.AcceptTcpClient(); ZSocket2.ConfigureSocket(socket); return(new ZSocket2(socket, null)); }