KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
When using the Net.Sockets.TcpListener , what is the best way to handle incoming connections (.AcceptSocket) in separate threads? The idea is to start a new thread when a new incoming connection is accepted, while the tcplistener then stays available for further incoming connections (and for every new incoming connection a new thread is created). All communication and termination with the client that originated the connection will be handled in the thread. Example C# or VB.NET code is appreciated.
Tags (comma-separated)
Save Edits
Cancel