Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- List<TcpClient> tcpClients = new List<TcpClient>(htUsers.Values);
- foreach (var user in tcpClients)
- {
- swSender = new StreamWriter(tcpClients.GetStream());
- }
- System.Collections.Generic.List<System.Net.Sockets.TcpClient>' does not contain a definition for 'GetStream' and no extension method 'GetStream' accepting a first argument of type 'System.Collections.Generic.List<System.Net.Sockets.TcpClient>' could be found (are you missing a using directive or an assembly reference?).
Add Comment
Please, Sign In to add comment