You must pass a
ThreadStart
to the
Thread
constructor.
See the
documentation[
^] for details an code samples.
[update]
Change from
Quote:
Thread t = new Thread(ClientThread);
to
Thread t = new Thread(new ThreadStart(ClientThread));
[/update]
[update II]
Your method should take an
object
as argument:
private static void ClientThread(object objclient)
{
TcpClient client = (TcpClient) objclient;
[/update II]