My question is on threading...
Some background, when a thread starts it starts TcpClient and NetworkStream, within the thread I get the endpoint of the client connecting and place it within a listbox, what am trying to do is be able to select an IP from my listbox and send some data to
the client, but am unsure how to do this as I have not used threading much...
The idea is when the address is selected from the listbox am somehow able to access that thread and click the send button on my from to send a message to that client...
Here is what I have so far;
byte data = new byte;
byte data2 = new byte;
TcpClient client = threadListener.AcceptTcpClient();
NetworkStream ns = client.GetStream();
// Gets the IP Address of the client IP connecting to the server
string clientIPAddress = "" + IPAddress.Pa
View Complete Post