Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 261
  • Last Modified:

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?
0
skullvn
Asked:
skullvn
2 Solutions
 
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
 
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

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now