A Simple Client-Server Application

Hi! Delphi Experts!
I want to write a client-server application that do these work:
Client send signal to server for request
When receive request signal form client,
server will send back to client a stream that contain a bitmap.
A hard bit that I can't find code to send  data from server to client that JUST send request.
Can U help me?
skullvnAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Peter_Commented:
I did much the same thing not too long ago, using a serversocket and clientsocket.

Here is the sample code I used to learn, it is from the book Mastering Delphi 6, chapter 21.

Look at projects Client1, Server1, Client2 and Server2. Just copy/paste the code into delphi, compile and run. Then modify to fill you needs, worked great for me.

http://www.marcocantu.com/code/md6htm/21.htm

Good luck,
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
gangsterbossCommented:
try this address it helped me alot whe client server programs
http://delphi.about.com/library/weekly/aa112602a.htm

gud luck
Gangsterboss
0
skullvnAuthor Commented:
Thank both! UR links are just I need
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Delphi

From novice to tech pro — start learning today.

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.