Use Ararat Synapse .
http://synapse.ararat.cz/doc/help/
Unit blcksock Class TTCPBlockSocket
Then send and receive byte arrays using :
Public function SendBuffer(Buffer: TMemory; Length: Integer): Integer;
override;
Public function RecvBuffer(Buffer: TMemory; Len: Integer): Integer;
: fpc-pascal On Behalf Of LacaK
via fpc-pascal
Sent: Sunday, September 13, 2020 5:56 AM
To: ja...@productionautomation.net; FPC-Pascal users discussions
Cc: LacaK
Subject: Re: [fpc-pascal] Sending Hex codes over TCP/IP
Dňa Fri, 11 Sep 2020 19:13:38 -0400
James Richters via fpc-pascal napísal
Dňa Fri, 11 Sep 2020 19:13:38 -0400 James Richters via fpc-pascal napísal:> What I'm trying to do is control some different ethernet relays. > They use> MODBUS TCP. I'm trying to keep it as simple as possible. I found >a modbus> library for Pascal but it was way over complicated for that I
: [fpc-pascal] Sending Hex codes over TCP/IP
On Fri, 11 Sep 2020, James Richters via fpc-pascal wrote:
> I'm trying to figure out how to send and receive Arrays of Bytes or
perhaps a buffer of hex codes over TCP/IP, but everything I find seems to
want to send and receive strings. Can some
On Fri, 11 Sep 2020 16:58:50 -0400, James Richters via fpc-pascal
wrote:
>I'm trying to figure out how to send and receive Arrays of Bytes or perhaps a
>buffer of hex codes over TCP/IP, but everything I find seems to want to send
>and receive strings. Can someone please point me in the right
(GMT+00:00) To:
'FPC-Pascal users discussions' Cc: James
Richters Subject: [fpc-pascal] Sending Hex
codes over TCP/IP I'm trying to figure out how to send and receive Arrays of
Bytes or perhaps a buffer of hex codes over TCP/IP, but everything I find
seems to want to send and receive strings
On Fri, 11 Sep 2020, James Richters via fpc-pascal wrote:
I'm trying to figure out how to send and receive Arrays of Bytes or perhaps a buffer of hex codes over TCP/IP, but everything I find seems to want to send and receive strings. Can someone please point me in the right direction on how
I'm trying to figure out how to send and receive Arrays of Bytes or perhaps a
buffer of hex codes over TCP/IP, but everything I find seems to want to send
and receive strings. Can someone please point me in the right direction on how
to do this?
Basically I want to make a connection to an