Re: SocketException: Too many open files - can't understand why though?

Tech-Archive recommends: Speed Up your PC by fixing your registry



Changing

public TcpClient client = new TcpClient();

to

public TcpClient client;

Fixed the problem, thanks all! :-)

(The rest of the code is probably still rubbish, but at least it works
now)

.