Solved

Clients/Server Socket Problem

Posted on 2006-07-23
2
164 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

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

Suggested Solutions

This article explains how to create and use a custom WaterMark textbox class.  The custom WaterMark textbox class allows you to set the WaterMark Background Color and WaterMark text at design time.   IMAGE OF WATERMARKS STEPS Create VB …
Parsing a CSV file is a task that we are confronted with regularly, and although there are a vast number of means to do this, as a newbie, the field can be confusing and the tools can seem complex. A simple solution to parsing a customized CSV fi…
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: …
I designed this idea while studying technology in the classroom.  This is a semester long project.  Students are asked to take photographs on a specific topic which they find meaningful, it can be a place or situation such as travel or homelessness.…

932 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

11 Experts available now in Live!

Get 1:1 Help Now