public Client(Server s, TcpClient client) { _s = s; _client = client; _rdr = new StreamReader(client.GetStream(), Encoding.UTF8); (new Thread(ev_read) { IsBackground = true }).Start(); lock (__all) { __all.Add(this); } }
public override void FinishedLaunching(NSObject notification) { _server = new Server(this); }