Connection with 3g unstable locked in C#

Asked

Viewed 93 times

0

I have a system, which uses a table in mysql to check if there is an update for it, It happens that at certain times, it is necessary that the modem is reconnected so that the system can do these web operations, someone knows the reason?

  • You can access the internet normally before reconnecting the modem (assuming it is already connected)?

  • Yes, the access is done normally, the reconnection is only necessary for the C# system to work, outside of the system the web pages are accessed normally.

  • I haven’t gotten the answer yet, unfortunately I can’t keep asking for "customers" to disconnect, would it have a way, to do this reconnection through the C#?

1 answer

2

I believe that its problem occurs in the limitation of data access, one that the service is 3G but not always works with such technology, because the resources in Brazil are still limited needing to be used 2 EDGE, for example.

It is evident that a 3G connection at the moment it gets idle, your signal turns off to save data consumption.

One solution would be to keep consumption active (through pings for example), but I don’t think it’s a viable alternative, because you will consume the bandwidth of that connection (and exceed the data limits of the connection eventually).

Another solution is to ask the user(s) of your system to reconnect/reconnect the connection.

  • I haven’t gotten the answer yet, unfortunately I can’t keep asking for "customers" to disconnect, would it have a way, to do this reconnection through the C#?

Browser other questions tagged

You are not signed in. Login or sign up in order to post.