Solved

Multi-Threaded Winsock App

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

How to remove superseded packages in windows w60 or w61 installation media (.wim) or online system to prevent unnecessary space. w60 means Windows Vista or Windows Server 2008. w61 means Windows 7 or Windows Server 2008 R2. There are various …
Whether you’re a college noob or a soon-to-be pro, these tips are sure to help you in your journey to becoming a programming ninja and stand out from the crowd.
The goal of this video is to provide viewers with basic examples to understand and use conditional statements in the C programming language.
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…

895 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