B4J Question Simple TCP communication


Licensed User
Longtime User
Hi. Kind of a newbie and need some advise. My aim is to launch a non gui B4J app from a Windows script with data to be sent to a Raspberry PI trough TCP. I've finished the Raspberry Pi part in Gambas and this work ok. I've read tutorials for non gui app but I am uncertain how to implement TCP part. It is important that it is relaible. Can anyone give me a hint or even better a basic code example to start with. I haven't found any examples that address my issue.
Regards Håkan