Solved

A Simple Client-Server Application

Posted on 2003-11-27
3
251 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Delphi: how to implement a User Shortcut mapper? 1 95
tidtcpserver connection lost handle 2 71
Firemonkey android show image from resource ? 1 33
DBGrid or StringGrid ? 6 71
Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Both in life and business – not all partnerships are created equal. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …

867 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

18 Experts available now in Live!

Get 1:1 Help Now