Solved

Clients/Server Socket Problem

Posted on 2006-07-23
2
163 Views
Last Modified: 2012-05-05
Hi all,
I have a client server socket working application.
client can uploads a file with any size to the server.
the problem is that the server can accept one client connection at the same time.
i need to update my application, so the server can deals with multiple clients sends at the same time.
i can post my code here if any ome can help.
thanks in advanced
samjav
0
Comment
Question by:samjav
2 Comments
 
LVL 8

Accepted Solution

by:
Shakti109 earned 125 total points
ID: 17164638

One possible suggestion/solution is to create a master listener class object, then spin off threads for each incoming connection.

Each thread created would be an instance of your code that handles the upload/saving/etc of the incoming file.

0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Since .Net 2.0, Visual Basic has made it easy to create a splash screen and set it via the "Splash Screen" drop down in the Project Properties.  A splash screen set in this manner is automatically created, displayed and closed by the framework itsel…
It’s quite interesting for me as I worked with Excel using vb.net for some time. Here are some topics which I know want to share with others whom this might help. First of all if you are working with Excel then you need to Download the Following …
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

746 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

12 Experts available now in Live!

Get 1:1 Help Now