hello world

I suppose you know this easy 1st delphi example.
(on btnclick showmessage bla,bla,bla...)
How do you make this app. client-server?
For learning sake...
BosanacAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
d1kGroupConnect With a Mentor Commented:
better take a look of indy components (TIdTCPServer and TIdTCPClient). you can find a lot of examples on http://www.indyproject.org
0
 
Greg RowlandSoftware Designer, SysDBA, WebMaster OwnerCommented:
Put it on a server:)

Really what do you want to do?
0
 
mokuleCommented:
procedure TForm1.Button1Click(Sender: TObject);
begin
  if MessageDlg('Welcome to my Delphi application.  Exit now?',
    mtConfirmation, [mbYes, mbNo], 0, mbYes) = mrYes then
  begin
    MessageDlg('Exiting the Delphi application.', mtInformation,
      [mbOk], 0, mbOk);
    Close;
  end;

0
Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 
mokuleCommented:
var
  FileToFind: string;
begin
  FileToFind := FileSearch(Edit1.Text, GetCurrentDir);
  if FileToFind = '' then
    ShowMessage('Couldn''t find ' + Edit1.Text + '.')
  else
    ShowMessage('Found ' + FileToFind + '.');
end;
0
 
shaneholmesCommented:
Take a look at the TServerSocket & TClientSocket components

Shane
0
 
geobulCommented:
What is the server part supposed to be doing?To send a string 'Hello world!' to the client upon request perhaps? I can't understand the question ...
0
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.

All Courses

From novice to tech pro — start learning today.