Il 01/04/2023 09:37, Bo Berglund via lazarus ha scritto:

Where are the "internet examples of Delphi 7" located?
Inside the Delphi7 installation or where? I can't find any.

By the name you write it looks to me (without having found the example) that it
is a*network*  application using TCP/IP sockets or the like.
I know this is a possibility but seems to be problematic since it implies that
the communication is via the LAN. What about situations when there is no network
connection?

The IPC as described seems to use internal messaging channels on the Windows
computer it runs on and not the network...


-- Bo Berglund Developer in Sweden

I have found it on the Kylix installation. But I did a quick search of Delphi NetChat and I found it immediately. It should be in the Demos folder. Demos->Internet->NetChat. You may also download it from Internet, where a Brazilian guy has made it available:
http://simbolussi.ddns.com.br:8088/TESTE%20DELPHI%207/Delphi7/Delphi7/Demos/Internet/NetChat/

Yes it is a network app, but it can be used locally, just by connecting both sides via localhost (i.e. 127.0.0.1), the loopback interface, which can be used whenever you want to connect TCP/IP server-client on the same machine. It's fundamental to test network apps locally before deploying it. Just search for "windows localhost", and you'll get the Microsoft documentation about it:
https://learn.microsoft.com/en-us/windows/iot-core/develop-your-app/loopback
and other contributions which may be useful.

That way you'll be using tools which are widely used and tested, and not very special ones which may fail outside a particular environment.

Giuliano

--
Do not do to others as you would have them do to you.They might have different 
tastes.

-- 
_______________________________________________
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus

Reply via email to