Solved

Multi-Threaded Winsock App

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

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
groupSumClump challenge 9 115
VB 6 error 5 in windows 10 but not in XP 7 56
Set email body to html using vbscript 6 41
How to read File Date Created using VB6 8 39
Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
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.
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.
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.

772 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