TCP variant of Ethernet Send and Receive function block
Modbus TCP would come to mind as a replacement. One would have to cope with the limited data type supported by Modbus TCP though. Bool or word variables are supported by Modbus TCP as coils or registers. For floating point values (4 Byte) you would need to convert them to 2 x 16 Bit values (RTOME function) which can be transported by Modbus TCP. The other direction, to re-combine the two register values back to a float is called METOR.