Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2015-09

How to see sockets in Lazarus 1.4.0?

4 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Bo Berglund

It seems like I am missing something regarding usage and setup of the Lazarus/FPC environment...
I installed Lazarus a while ago in order to check how it would cope with a Sentinel SuperPro dongle. I have not done anything since with Lazarus.

Now I wanted to make a test using the TCP/IP socket functionality and the easiest would be to use TClientSocket since it should be part of FPC.
However I cannot find it in Lazarus GUI even though I can find the files concerned with the socket system inside the Lazarus installation.

Can someone point me to some instructions on how to make the sockets visible in Lazarus?

Bo Berglund Developer in Sweden

Reply by email

Michael Van Canneyt
to Bo Berglund
Bo Berglund wrote 15 lines
It seems like I am missing something regarding usage and setup of the Lazarus/FPC environment... I installed Lazarus a while ago in order to check how it would cope with a Sentinel SuperPro dongle. I have not done anything since with Lazarus. Now I wanted to make a test using the TCP/IP socket functionality and the easiest would be to use TClientSocket since it should be part of FPC. However I cannot find it in Lazarus GUI even though I can find the files concerned with the socket system inside the Lazarus installation. Can someone point me to some instructions on how to make the sockets visible in Lazarus?

They are not visible, they are not components.
You must create them in code.

I do believe there is a third-party package which can work on top of Synapse, and which contains components you can drop on a data module.

Michael.

Reply by email

Bo Berglund
to Michael Van Canneyt
Michael Van Canneyt wrote 13 lines
On Mon, 21 Sep 2015, Bo Berglund wrote: > Can someone point me to some instructions on how to make the sockets > visible in Lazarus? They are not visible, they are not components. You must create them in code. I do believe there is a third-party package which can work on top of Synapse, and which contains components you can drop on a data module.

Thanks!

I have another visibility question:
In Delphi7 I usually show both the Object Inspector and the Code Explorer and I always dock them together in one floating window. Is this possible also in Lazarus?
I seem not to be able to dock them together using the tricks of Delphi7....

Bo Berglund Developer in Sweden

Reply by email

Michael Van Canneyt
to Bo Berglund
Bo Berglund wrote 25 lines
On Mon, 21 Sep 2015 19:05:53 +0200 (CEST), Michael Van Canneyt wrote: > > > On Mon, 21 Sep 2015, Bo Berglund wrote: > >> Can someone point me to some instructions on how to make the sockets >> visible in Lazarus? > > They are not visible, they are not components. > You must create them in code. > > I do believe there is a third-party package which can work on top of Synapse, > and which contains components you can drop on a data module. > Thanks! I have another visibility question: In Delphi7 I usually show both the Object Inspector and the Code Explorer and I always dock them together in one floating window. Is this possible also in Lazarus? I seem not to be able to dock them together using the tricks of Delphi7....

It is, if you install one of the docking packages.

Michael.

Reply by email