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