L
Lloyd Dupont
I wrote some code based on (Http)WebRequest
there is a timeout of 15 seconds, which I can't really decrease because I
receive a lot of data and I had connection timeout when I try to decrrease
it.
on the other hand when I try to do a connection and for some reason the
network is disconnected (that seems to happen regularly for no apparent
reason), I have to wait 15 second too to have an error message.
I would like to know how to check the connectivity/network connection state.
how do I do that ?
there is a timeout of 15 seconds, which I can't really decrease because I
receive a lot of data and I had connection timeout when I try to decrrease
it.
on the other hand when I try to do a connection and for some reason the
network is disconnected (that seems to happen regularly for no apparent
reason), I have to wait 15 second too to have an error message.
I would like to know how to check the connectivity/network connection state.
how do I do that ?