Forum Xamarin.Forms

HttpWebRequest and DNS

I am using HttpWebRequest in a Xamarin Forms project that connect to a local webserver with no DNS.
It is slow at first connection as it unable to immediately resolve immediately DNS and/or proxy.
I am not using a proxy and the server has a static IP (192.168.1.1). How can I avoid the DNS/proxy check that slow down the connection?
If HttpWebRequest class is not suitable, what other class/library can be used for the purpose?

Answers

Sign In or Register to comment.