07-25-2025, 10:55 AM
I am programming a program for my Pc connecting to a device that control a model railway. I think this device is the server and my PC is client. In the description of this device it is declared that it has an ethernet with a IP 192.168.2.20 and a recieve Port 15730 and a send Port 15731. Now my question : do i have to connect to both ports with :
LDClient.Connect( "192.168.2.20:15730", "False" ) and LDClient.Connect( "192.168.2.20:15731", "False" ) , or only connect to the recieve Port 15731 ?
LDClient.Connect( "192.168.2.20:15730", "False" ) and LDClient.Connect( "192.168.2.20:15731", "False" ) , or only connect to the recieve Port 15731 ?