Solved

Clients/Server Socket Problem

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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Article by: jpaulino
XML Literals are a great way to handle XML files and the community doesn’t use it as much as it should.  An XML Literal is like a String (http://msdn.microsoft.com/en-us/library/system.string.aspx) Literal, only instead of starting and ending with w…
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 …
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

856 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