How do i move the result to another thread

Hello, i'm a beginner to c# and my english is not very great, so reading doc is not always to helpful.

Could someone answer some of these questions 1. How do i move the result of this http://ift.tt/20ghQ3o tcp.RemoteEndPoint.Address will return the ip of a port, how can i then use this result in a different thread / code? This is the code i want the result inside http://ift.tt/1nxdRh1

  1. Using the example http://ift.tt/1nxdRh1 in a repeating timer creates way to many open ports and not close fast enough so user end up with 100+/- open connection to the port, is there different way im can do this? Can i force the connection to close faster?

by wildsushiroll via /r/csharp

Leave a Reply