Solved

Multi-Threaded Winsock App

Posted on 1998-05-18
1
503 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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Suggested Solutions

There is an easy way, in .NET, to centralize the treatment of all unexpected errors. First of all, instead of launching the application directly in a Form, you need first to write a Sub called Main, in a module. Then, set the Startup Object to th…
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 …
This video teaches viewers about errors in exception handling.
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.

707 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now