W5500 Client is not connect

First of all, hello,
I am working on W5500. I use it comfortably as a server. But when I use it as a Client, I have a problem on the ‘connect’ side. I think there is a problem with the Mac address.
I am sharing Wireshark listening as a screenshot.
W5500 ;
MAC=0x8C,0x1F,0x64,0xB0,0x80,0x01
192.168.1.66
255.255.255.0
192.168.1.1
8.8.8.8
port=500;
The IP address you want to connect to is 192.168.1.243
my connect code;

if((Baglan!=SOCK_OK) ){
Baglan=connect(1,serverIp,500]);
}
if(getSn_SR(1)!=SOCK_ESTABLISHED ){
socket(1,Sn_MR_TCP,500,SF_TCP_NODELAY);
Baglan=0;
}

You seem to use 255.255.255.0 for server IP address. And check if connect is blocking and you should not do anything else after it returns (e.g. wait for status register transitions, and not just check for establish state once). I am also not sure where do you close the socket before you reopen it.

Thanks for answer.
Yes, i noticed too.
During my work, when I set the IP address of the w5500 chip to 192.168.1.55, the connection was made. But when I change the IP address, I cannot connect.
You said my connection might be blocked. How can I check this?

Kind regards,

I meant connect call is blocking until there’s a socket state changes to closed or connected. I did not look into its code (and do not remember it by heart).

The whole problem is not clear. You can get ARP storm only if you constantly trying to start connection process (which starts with ARP if it was not cached before - and not sure if W5500 caches it), or remote node does not reply for ARP and of course there will be no connection.

Thanks Eugeny.
You helped me a lot in this project.
Thank you very much for your contribution.
When I sent it continuously, the problem was solved.