Sunday, 15 May 2011

vb.net - Threadding clients using a tcp listner -


(Using VB 2008 Express.)

I send client text to create a server Trying to request me I am using a client TCP listener to accept the clients, then each client has to send a thread to Threadpool, which is related to each customer's request, the client connection closes. It works fine but I would like to know how it works. Using the loop given below, I think I should send some value to the threaded sub. How does it know which customer is dealing with each thread?

  Sub. Code> 

This does not happen until you have a state object to track that user Do not give up.

View the MSDN article on the non-blocked TCP server:


No comments:

Post a Comment