[Lazarus] Transfer between RS232 and TCP/IP

Dimitrios Chr. Ioannidis d.ioannidis at nephelae.eu
Sat Jul 23 01:07:27 CEST 2016


On 22/7/2016 7:34 μμ, Bo Berglund wrote:
> I have an application which talks to a data collection system via
> serial comm (RS232).
>
> Now the instrumentation has switched to WiFi instead and I need to
> somehow make a "go-between" program that can channel data between a
> TCP port on the WiFi network and a regular serial port (on Windows)
> which the existing application can use.
>
> The data into and out of the TCP port is exactly the same as the data
> previously trasnferred via RS232, in fact behind the scenes on the
> instrument there is still the serial channel but it s now hooked to
> WiFi.
>
> Is there something in Lazarus/Fpc I can use to create such a glue
> program?

Hi,

   you can use IdMappedPortTCP from Indy 10 .

regards,

-- 
Dimitrios Chr. Ioannidis


More information about the Lazarus mailing list