On Tue, 19 May 2020 18:25:54 +0200, Giuliano Colla
wrote:
>Now I'm planning to look in more detail the old Delphi implementation,
>in order to see how they were tacking advantage of Libc. If you're
>interested I'll let you know my results.
>
Yes, please!
--
Bo Berglund
Developer in Sweden
On Tue, 19 May 2020, Giuliano Colla wrote:
Il 19/05/2020 18:57, Michael Van Canneyt ha scritto:
They are not missing.
How do you think fpsock and lnet implement non-blocking ?
It's simply called O_NONBLOCK.
I'm using fpc 3.0.4. With just Sockets in the uses clause both SOCK_NONBLOCK
Giuliano Colla a écrit :
Il 19/05/2020 18:57, Michael Van Canneyt ha scritto:
They are not missing.
How do you think fpsock and lnet implement non-blocking ?
It's simply called O_NONBLOCK.
I'm using fpc 3.0.4. With just Sockets in the uses clause both SOCK_NONBLOCK
and O_NONBLOCK give an
Il 19/05/2020 18:57, Michael Van Canneyt ha scritto:
They are not missing.
How do you think fpsock and lnet implement non-blocking ?
It's simply called O_NONBLOCK.
I'm using fpc 3.0.4. With just Sockets in the uses clause both
SOCK_NONBLOCK and O_NONBLOCK give an Identifier not found
Subject: Re: [fpc-pascal] How to implement a simple tcp/ip connection?
On Tue, 19 May 2020, Giuliano Colla wrote:
> I'm struggling with a similar problem. It would appear that the easiest
> way would be just take advantage of the Sockets unit. You only must
> define some more
On Tue, 19 May 2020, Giuliano Colla wrote:
I'm struggling with a similar problem. It would appear that the easiest
way would be just take advantage of the Sockets unit. You only must
define some more constants, such as SO_REUSEPORT and SOCK_NONBLOCK which
are missing in fpc.
They are not
I'm struggling with a similar problem. It would appear that the easiest
way would be just take advantage of the Sockets unit. You only must
define some more constants, such as SO_REUSEPORT and SOCK_NONBLOCK which
are missing in fpc.
I just made some preliminary tests, and it looks like it's
On Sat, 16 May 2020 23:24:34 +0100, Graeme Geldenhuys
wrote:
>> Well the simplest way to get Indy10 into Lazarus is via Online Package
>> Manager!
>
>Do they (whoever it might be) keep it up to date with the lastest Indy?
I believe that it is actually Remy Lebeau who is doing that (I might
be
On 16/05/2020 7:13 pm, Bo Berglund via fpc-pascal wrote:
>
> Well the simplest way to get Indy10 into Lazarus is via Online Package
> Manager!
Do they (whoever it might be) keep it up to date with the lastest Indy?
> it is a rather steep climb since Indy10 is entirely blocking and the
> Delphi
On Thu, 14 May 2020 22:02:01 +0100, Graeme Geldenhuys
wrote:
>On 14/05/2020 5:21 pm, Giuliano Colla wrote:
>> I need to implement a simple dedicated TCP/IP connection between a
>> client and a server.
>
>You can always use the Indy TCP components too. I've used them for years
>under Delphi and
El 14/5/20 a les 18:21, Giuliano Colla ha escrit:
Hi all,
I need to implement a simple dedicated TCP/IP connection between a
client and a server. Nothing fancy, just sending and receiving short
strings. I have used in the past for that purpose the unit Sockets
lifting it from Kylix. This
On 14/05/2020 5:21 pm, Giuliano Colla wrote:
> I need to implement a simple dedicated TCP/IP connection between a
> client and a server.
You can always use the Indy TCP components too. I've used them for years
under Delphi and FPC with great success. Huge amounts of protocols are
implement and
Thank you to all of you guys. Now I have a much better picture
--
Do not do to others as you would have them do to you.They might have different
tastes.
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
On Thu, 14 May 2020 18:21:36 +0200, Giuliano Colla
wrote:
>I see that fpc provides a Socket unit in rtl-extra and a fpSock unit in
>fcl-net. At first glance they both appear to provide what I need.
LNet is a package that contains useful socket classes and refer back
to sockets. Can be
: Thursday, May 14, 2020 12:21:36 PM
To: FPC-Pascal users discussions
Subject: [fpc-pascal] How to implement a simple tcp/ip connection?
Hi all,
I need to implement a simple dedicated TCP/IP connection between a
client and a server. Nothing fancy, just sending and receiving short
strings. I have used
On Thu, 14 May 2020, Giuliano Colla wrote:
Hi all,
I need to implement a simple dedicated TCP/IP connection between a
client and a server. Nothing fancy, just sending and receiving short
strings. I have used in the past for that purpose the unit Sockets
lifting it from Kylix. This unit
Hi all,
I need to implement a simple dedicated TCP/IP connection between a
client and a server. Nothing fancy, just sending and receiving short
strings. I have used in the past for that purpose the unit Sockets
lifting it from Kylix. This unit was taking advantage of libc, and this
rules it
17 matches
Mail list logo