Solved

Recieving messages...

Posted on 2001-06-15
7
167 Views
Last Modified: 2010-04-06

Dear Delphi-experts,

I have to create a server application that has to recieve thousands (5.000 is the maximum) messages at the same or almost the same time. They all come from different clients.
The message are short (1028 bytes maximum) and have to be send with TCP-protocol want I have to be sure that the arrive.

What kind of method does I have to use?
Does I keep a connection with all the clients all te time or does I have to create a connection every time a client sends a message?

Who can help me?


Many thanks!!

Andromedaris
 
0
Comment
Question by:Andromedaris
  • 4
  • 2
7 Comments
 
LVL 13

Accepted Solution

by:
Epsylon earned 100 total points
ID: 6195652
You can build a server, to which 5000 clients can connect. Each connection can be left open as long as desired or until an error occurs. The big is: will it be fast enough to handle 5000 simultanious clients? I think this is more a hardware problem than a software problem.

Give me your email address an I'll send you a demo of a simple server and a client.
0
 
LVL 13

Expert Comment

by:Epsylon
ID: 6195657
Btw, it's using TClientSocket and TServerSocket.
0
 
LVL 1

Expert Comment

by:edsteele
ID: 6195659
Well, first off, do you have the ability to request a resend from the clients if you miss any messages?

Eric
0
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.

 
LVL 13

Expert Comment

by:Epsylon
ID: 6201871
Hello???
0
 

Author Comment

by:Andromedaris
ID: 6205483
Hello Epsylon!

Thanks for the help!
My email is KoenH@area.be

Does somebody has experience with the IP*Works internetcomponents from www.dev-soft.com?

Greetings,


Koen
0
 

Author Comment

by:Andromedaris
ID: 6209355
This was very helpfull for me!

If somebody else needs the code, I'll send them.

Andromedaris

KoenH@area.be

0
 
LVL 13

Expert Comment

by:Epsylon
ID: 6209716
Glad to 'hear' that  :o)

Never done anything with IP*Works components.
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 forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
Both in life and business – not all partnerships are created equal. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …
As a trusted technology advisor to your customers you are likely getting the daily question of, ‘should I put this in the cloud?’ As customer demands for cloud services increases, companies will see a shift from traditional buying patterns to new…

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

17 Experts available now in Live!

Get 1:1 Help Now