I made visual basic app for testing Rx Tx performance with ability to use it as set/get register type communication over the LAN, but when i try to ask large buffers to send and to receive, i get "the existing connection was forcibly closed by the remote host " error
with small packets like 10kx8b it is running fine, but if i make 40kx8b, it will generate this error.
Note that i have only one socket with 64 for Tx, 64 for Tx FIFO size, so i can use 65536 sized massage, and indeed i can if only it is transmitting or receiving.
But even bigger problem, that i could not connect to w5300 with computer, it just say connection was refused by host, while my program on stm32f4 is happily running socket switch program with SOCK_LISTEN register active, just like after restart.
If i make reset and config it again, it start to work.
Question, how can i know that client can’t connect even if i am in SOCK_LISTEN mode, just like it suppose to be ? and how to fix it ?