Solved

Recieving messages...

Posted on 2001-06-15
7
166 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
Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

 
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

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

744 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