T
T
tvsjke2016-05-19 09:37:23
C++ / C#
tvsjke, 2016-05-19 09:37:23

How to determine the loss of communication with the server using UDP and Win CE?

How correct will this be: asynchronous is the server that sends packets via UDP to the client (say, once every 3 seconds), and the client, receiving (or not receiving), determines whether there is a connection or not? And immediately one more question, what to use to set a timeout on the client (receive.timeout is not supported)?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Ananiev, 2016-05-19
@SaNNy32

That's right: the client is trying to access the server, and if the server is not available, the connection is lost.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question