Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Recieving messages...

Posted on 2001-06-15
7
Medium Priority
?
178 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
7 Comments
 
LVL 13

Accepted Solution

by:
Epsylon earned 400 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
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering 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

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
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…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …
Suggested Courses

618 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