|
-
June 11th, 2002, 08:38 AM
#1
Multithreaded TCPClient
I have setup a simple TCPListener and TCPClient that runs in a background thread on a server app. It works fine and connects correctly to clients and fetches messages. I wish to make this multithreaded so that as each client connects a new thread is created rather than having to wait for the single background thread to finish and process the next connection request.
I have tried several ways to do this and always wind up with a vicious loop of thread creation and no processing.
I would greatly appreciate a pointer to an article or snippet that will get me moving in a positive direction again.
Thx for your help
Archie
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|