Solved

Multi-Threaded Winsock App

Posted on 1998-05-18
1
506 Views
Last Modified: 2013-11-13
Does anyone have any hints or source-code on how to make a multi-threaded winsock app. ie. When a request comes in, it is passed to a winsock control *in another thread* to be serviced. This is to be used in a server situation. -- Brett
0
Comment
Question by:BrettWilliams
1 Comment
 
LVL 1

Accepted Solution

by:
z1 earned 200 total points
ID: 1453663
VB 5.0
1) Create new project, select ActiveX EXE
2) Project | Properties, check Unattended execution, check Thread per object.
3) Write your code as for single-user app.
Each object instantion will run in a separate thread.
z1
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Windows Script Host (WSH) has been part of Windows since Windows NT4. Windows Script Host provides architecture for building dynamic scripts that consist of a core object model, scripting hosts, and scripting engines. The key components of Window…
If you haven’t already, I encourage you to read the first article (http://www.experts-exchange.com/articles/18680/An-Introduction-to-R-Programming-and-R-Studio.html) in my series to gain a basic foundation of R and R Studio.  You will also find the …
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.

829 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question