Re: [lwip-users] Netconn API Server Mode Connection Drope Detection

2019-05-17 Thread Mesut Cömert
Thank you for all On Fri, May 17, 2019, 09:59 Mesut Cömert wrote: > I solved the problem, it was easy. Inattention.. > > On Fri, May 17, 2019, 09:43 tirmalabenikasibeni > wrote: > >> Can I see some code, please? >> >> >> >> -- >> Sent from: http://lwip.100.n7.nabble.com/lwip-users-f3.html >> >>

Re: [lwip-users] Netconn API Server Mode Connection Drope Detection

2019-05-17 Thread Mesut Cömert
I solved the problem, it was easy. Inattention.. On Fri, May 17, 2019, 09:43 tirmalabenikasibeni wrote: > Can I see some code, please? > > > > -- > Sent from: http://lwip.100.n7.nabble.com/lwip-users-f3.html > > ___ > lwip-users mailing list > lwip-use

Re: [lwip-users] Netconn API Server Mode Connection Drope Detection

2019-05-16 Thread tirmalabenikasibeni
Can I see some code, please? -- Sent from: http://lwip.100.n7.nabble.com/lwip-users-f3.html ___ lwip-users mailing list lwip-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/lwip-users

Re: [lwip-users] Netconn API Server Mode Connection Drope Detection

2019-05-16 Thread Mesut Cömert
yep, i can detecting that ERR_CLSD error code. After that i have to go back netconn_accept function. i couldn't this. Also my system has RTOS. It doesn't turns that task. tirmalabenikasibeni , 16 May 2019 Per, 18:07 tarihinde şunu yazdı: > netconn_receive must return ERR_CLSD when connection clos

Re: [lwip-users] Netconn API Server Mode Connection Drope Detection

2019-05-16 Thread tirmalabenikasibeni
netconn_receive must return ERR_CLSD when connection closed. Check your error code in every loop. -- Sent from: http://lwip.100.n7.nabble.com/lwip-users-f3.html ___ lwip-users mailing list lwip-users@nongnu.org https://lists.nongnu.org/mailman/listinf

Re: [lwip-users] Netconn API Server Mode Connection Drope Detection

2019-05-16 Thread Stephen Cowell
I'm using RAW, not Netconn... I have to poll my PHY for this... about once every 10,000 loops.  Read the manual for your PHY... several different conditions you can detect... you have to access the status register IIRC. -- Stephen Cowell Project Manager/Engineer Plasmability LLC On 5/16/2019

[lwip-users] Netconn API Server Mode Connection Drope Detection

2019-05-16 Thread Mesut Cömert
Hi, guys. I have using Netconn API on my system. I want to work as server mode. I downloaded and examined netconn server examples and I set up my system. I connect to my device with Hercules TCP Client section. First section is that i connect to my device, send to message and receive message then s