0
Reply

streamwriter / reader, client / server freeze

Ask a question
jesper

jesper

10y
840
1
Hi,
 
I have created a socket server using streamwriter / reader my code is as followed:
 
server code:
 
http://pastebin.com/6vyq5W8q 
 
Client code:
 
http://pastebin.com/u4YCUzRd 
 
My problem is that, when i connect multiple clients to the server, the server or client stop sending or recieving messages..
 
the funny part is that if i have connected 2 clients to the server, then i can send a few messages on both, clients and suddenly only one client responding, the other client just freeze.