Click here to Skip to main content
15,893,668 members
Home / Discussions / C#
   

C#

 
Generalunable to import merge module Pin
mhmoud rawas26-Oct-04 21:04
mhmoud rawas26-Oct-04 21:04 
Generalanalyzing a string Pin
Anonymous26-Oct-04 20:32
Anonymous26-Oct-04 20:32 
GeneralRe: analyzing a string Pin
sreejith ss nair26-Oct-04 22:20
sreejith ss nair26-Oct-04 22:20 
GeneralRe: analyzing a string Pin
Colin Angus Mackay26-Oct-04 22:22
Colin Angus Mackay26-Oct-04 22:22 
GeneralListView ScrollBar Pin
Zishan Haider26-Oct-04 19:50
Zishan Haider26-Oct-04 19:50 
GeneralRe: ListView ScrollBar Pin
sreejith ss nair26-Oct-04 22:16
sreejith ss nair26-Oct-04 22:16 
GeneralRe: ListView ScrollBar Pin
Zishan Haider26-Oct-04 22:34
Zishan Haider26-Oct-04 22:34 
GeneralTimeout in WebRequest.GetRequestStram() Pin
Guillermo Jimenez26-Oct-04 15:43
Guillermo Jimenez26-Oct-04 15:43 
I hava simple program that posts a xml file over the web to an Apache Web Service.

HttpWebRequest wr = ()WebRequest.Create(url);
wr.ContentType = "text/xml";
wr.KeepAlive = false;
wr.Timeout = 60000;
wr.Method = "POST";

Stream s = wr.RequestStream();
.....
.....
WebResponse response = wr.GetResponse();

The TCP Timeout is occuring on the wr.RequestStream() after the 5th time file sent.

Knowingly the program sends many XML files a minute. It is quite efficient producing them. However it would appear to block after the 5th one and then everything yields a TCP timeout. I increased the timeout to 1 minute on my side but yet I get the timeout within 20 seconds.

Guillermo Jimenez



GeneralRe: Timeout in WebRequest.GetRequestStram() Pin
Heath Stewart26-Oct-04 17:20
protectorHeath Stewart26-Oct-04 17:20 
GeneralRe: Timeout in WebRequest.GetRequestStram() Pin
Guillermo Jimenez27-Oct-04 16:40
Guillermo Jimenez27-Oct-04 16:40 
GeneralRe: Timeout in WebRequest.GetRequestStram() Pin
Heath Stewart27-Oct-04 22:08
protectorHeath Stewart27-Oct-04 22:08 
GeneralParser class for an Interpreter Pin
Member 138504926-Oct-04 15:06
Member 138504926-Oct-04 15:06 
GeneralRe: Parser class for an Interpreter Pin
LongRange.Shooter26-Oct-04 16:28
LongRange.Shooter26-Oct-04 16:28 
GeneralRe: Parser class for an Interpreter Pin
Heath Stewart26-Oct-04 17:23
protectorHeath Stewart26-Oct-04 17:23 
QuestionSite crawling/spidering tutorial? Pin
Justin Garrick26-Oct-04 13:48
Justin Garrick26-Oct-04 13:48 
AnswerRe: Site crawling/spidering tutorial? Pin
Nick Parker26-Oct-04 16:59
protectorNick Parker26-Oct-04 16:59 
AnswerRe: Site crawling/spidering tutorial? Pin
Heath Stewart26-Oct-04 17:12
protectorHeath Stewart26-Oct-04 17:12 
GeneralExcel Program DLL's Pin
Jeremy Ouellette26-Oct-04 13:02
Jeremy Ouellette26-Oct-04 13:02 
GeneralRe: Excel Program DLL's Pin
Heath Stewart26-Oct-04 13:40
protectorHeath Stewart26-Oct-04 13:40 
GeneralVisual Studio Add-In Pin
Nxsis26-Oct-04 12:05
Nxsis26-Oct-04 12:05 
GeneralRe: Visual Studio Add-In Pin
Heath Stewart26-Oct-04 13:01
protectorHeath Stewart26-Oct-04 13:01 
GeneralPictureBox help! Pin
ethanwa26-Oct-04 11:33
ethanwa26-Oct-04 11:33 
GeneralRe: PictureBox help! Pin
Heath Stewart26-Oct-04 12:44
protectorHeath Stewart26-Oct-04 12:44 
GeneralRe: PictureBox help! Pin
Nick Parker26-Oct-04 13:11
protectorNick Parker26-Oct-04 13:11 
GeneraluserAccountControl problem Pin
Zackmac26-Oct-04 10:16
Zackmac26-Oct-04 10:16 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.