Recieving messages...


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
 
AndromedarisAsked:
Who is Participating?
 
EpsylonConnect With a Mentor Commented:
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
 
EpsylonCommented:
Btw, it's using TClientSocket and TServerSocket.
0
 
edsteeleCommented:
Well, first off, do you have the ability to request a resend from the clients if you miss any messages?

Eric
0
Cloud Class® Course: Microsoft Azure 2017

Azure has a changed a lot since it was originally introduce by adding new services and features. Do you know everything you need to about Azure? This course will teach you about the Azure App Service, monitoring and application insights, DevOps, and Team Services.

 
EpsylonCommented:
Hello???
0
 
AndromedarisAuthor Commented:
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
 
AndromedarisAuthor Commented:
This was very helpfull for me!

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

Andromedaris

KoenH@area.be

0
 
EpsylonCommented:
Glad to 'hear' that  :o)

Never done anything with IP*Works components.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.