Is it possible to setup W5300 as TCP server with multiple sockets
having different port numbers, but same local address?
For example, the local address will be 192.168.0.3 and 8 servers
with port adresses 200…207. It succeeds for one port and one
socket, but not for multiple sockets. If I setup 8 sockets as
TCP servers, on the LAN I can see only the last setup socket -
192.168.0.3:207. I tried to modify the routers routing table also,
but no results yet.
1 Like
Hi,
IP address and MAC address are only one for chip ( are common register ) but all socket can be set in listen mode on SAME or different port number.
So for your solution the problem must be a software setting mistake.
Thanks to Coccoliso, who has encouraged me
to check one more time the socket setup code.
Now the setup is ok and working. For other
developers I can confirm, that W5300 can have
8 TCP servers working with same local address,
but different port numbers. In my case:
192.168.0.3:[200…207]. Even the router does not
need special setup (in this case, DIR-615).