Created Thu, 27 Nov 2014 02:03:50 +0000 by dharanikumarsrvn
Thu, 27 Nov 2014 02:03:50 +0000
Hi, My chipkit wf32 board act as a tcp server and android smartphone act as tcp client. In wf32 i used DNETck library and in android i am using Socket package. my server will send data at regular intervals. Client will not send any data to server, it just receives. In server, i am calling isconnected(&DNETck::status) regularly to check the status of the connection. When i close the app, isconnected() fails, if i check isstatusanerror(&DNETck::status), it returns true. In that scenario what should i do, 1. close just the tcpclient and start listening, 2. close tcpclient and tcpserver and starts from binding the server to port, 3. close tcpclient, close tcpserver and start from DNetck::begin()? Please clarify me.
Tue, 19 Jan 2016 18:57:25 +0000
Answered here [url]http://chipkit.net/forum/viewtopic.php?f=7&t=3099&p=12808#p12808[/url]