Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

how to reset tcp server in Chipkit wf32 DNETck?

Status
Not open for further replies.

dharanikumarsrvn

Junior Member level 1
Joined
Oct 22, 2012
Messages
15
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,401
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.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top