this is a easy task you can simple use my uuart component ( http://corpsman.de/index.php?doc=komponenten/uuart )
within the code there is a wrapper, that can handle TCP connections and Serial Connections ( the example program does this for modbus ). All you have to do, is download Synapse (to support the RS232 Connection) and Download LNet to support the TCP Socket Connection ;) Corpsman On 22.07.2016 18: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? > > -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus-ide.org/listinfo/lazarus
