The routers are checked and work ok … if i change W5200 with a PC i am able to make the connection with the server.
This is my configuration on the W5200
HW address : SET
Source IP: 192.168.4.3
Subnet mask: 255.255.0.0
Gateway address : 192.168.4.1
Destination IP address 192.168.3.20
Destination port: 2020 ( ports are open on the router and port forwarding enabled too )
when i open the socket ( write 1 to 4001 )it is ok
when i start the connection ( write 4 to the 4001 ) than the Socket status register ( 4003 ) goes back to 0…meaning CLOSED
Soo, what am i doing wrong ? Is the configuration OK ?