Solved

A Simple Client-Server Application

Posted on 2003-11-27
3
252 Views
Last Modified: 2010-04-05
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?
0
Comment
Question by:skullvn
3 Comments
 
LVL 3

Accepted Solution

by:
Peter_ earned 75 total points
ID: 9831362
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
 
LVL 2

Assisted Solution

by:gangsterboss
gangsterboss earned 25 total points
ID: 9834362
try this address it helped me alot whe client server programs
http://delphi.about.com/library/weekly/aa112602a.htm

gud luck
Gangsterboss
0
 

Author Comment

by:skullvn
ID: 9847922
Thank both! UR links are just I need
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

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…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

776 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