HttpWebRequest throw NameResolutionFailure run in linux mono -


i have asp.net mvc project run in linux mono, on windows native test normal,but throw exception linux mono. have tortured few days, can me, thank much! code: string strgateway="http:192.168.200.3:6182/getdata";

httpwebrequest myreq=(httpwebrequest)webrequest.create(strgateway)  httpwebrequest;  myreq.method="post";  myreq.contenttype="text/xml/charest=utf-8";  stream newstream=myreq.getrequeststream(); newstream.write(st,0,st.length); newstream.close(); 


Comments

Popular posts from this blog

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

python Tkinter Capturing keyboard events save as one single string -

sql server - Why does Linq-to-SQL add unnecessary COUNT()? -