Guest User

Untitled

a guest
Jun 19th, 2018
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. List<TcpClient> tcpClients = new List<TcpClient>(htUsers.Values);
  2.  
  3. foreach (var user in tcpClients)
  4. {
  5. swSender = new StreamWriter(tcpClients.GetStream());
  6. }
  7.  
  8.  
  9.  
  10. 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