i have problem for Tcplistener And GT06.
I have the coding I wrote with c# TcpListener, there is no problem in data exchange.
I reply when the login message comes, but I get location information in long time intervals and then the connection ends why?
Then I get a heartbeat message then I reply and the connection ends why?
I'm sure the answers I gave are correct.
How can I retrieve data in 5-10 second intervals or continuously?
How should my coding be from the first stage, what should I do in order?
Current Action:
- Therminal to Server Login Message
- Server to Terminal Login Answer
- Therminal to Server Location Message
- Therminal to Server Location Message
- Connection Closed
Current My Code:
Listen Port
If Therminal to Server Login Message
a.Server to Terminal Login Answer
- If Therminal to Server Heartbeat Message
a. Server to Terminal Heartbeat Answer
- If Therminal to Server Location Message
a. print Message