Support Center
USR-K7: Serial to Socket A or B
2020-05-12

Question:
I configurated Ethernet module K7 with two sockets: 
A=TCP-Client, destination server address: 192.168.1.100 port 1000
B=TCP-Client, destination server address: 192.168.1.200 port 2000
When I send a packets from serial port , it is sent through both sockets (A & B) to both servers.
Is it possible to select the socket on which the packet will go? (only by socket B1 to server 192.168.0.200 for example)
 

Answer:

You can close unused sockets
Only use sockb


 

Industrial loT Gateways Ranked First in China by Online Sales for Seven Consecutive Years **Data from China's Industrial IoT Gateways Market Research in 2023 by Frost & Sullivan
Subscribe
Be Honest, Do Best
Copyright © Jinan USR IOT Technology Limited All Rights Reserved. Lu ICPB No. 16015649-5/ Sitemap / Privacy Policy