0

I have a Java code block like following:

public TcpConnection(TcpSocket socket, long alive_time, ITcpConnectionListener listener)
   {  init(socket,alive_time,listener);
      start();
   }

For the conversion in C#, When I try to replace the start() method with System.Threading.ThreadStart(), it gives an error. How can I start a thread in C#?

3
Contributors
2
Replies
9
Views
4 Years
Discussion Span
Last Post by ddanbe
This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.