Click here to Skip to main content
15,909,242 members
Home / Discussions / C#
   

C#

 
AnswerRe: how to communicate with a web site Pin
Bahadir Cambel12-Mar-05 23:31
Bahadir Cambel12-Mar-05 23:31 
AnswerRe: how to communicate with a web site Pin
tonaxxl13-Mar-05 5:03
tonaxxl13-Mar-05 5:03 
GeneralRepaint frame Pin
Robske12-Mar-05 6:39
Robske12-Mar-05 6:39 
GeneralRe: Repaint frame Pin
Judah Gabriel Himango12-Mar-05 6:58
sponsorJudah Gabriel Himango12-Mar-05 6:58 
General'fit to page' future when printing HTML document Pin
simcho9912-Mar-05 1:01
simcho9912-Mar-05 1:01 
GeneralRe: 'fit to page' future when printing HTML document Pin
Judah Gabriel Himango12-Mar-05 7:00
sponsorJudah Gabriel Himango12-Mar-05 7:00 
GeneralRe: 'fit to page' future when printing HTML document Pin
simcho9913-Mar-05 20:26
simcho9913-Mar-05 20:26 
Generalmultithreading and web request help needed Pin
enterlong11-Mar-05 23:33
enterlong11-Mar-05 23:33 
hi

I need some help.

I do trading on an exchange like a stock exchange.
I have to send http:// string to a server, in the string I can set the properties what i will do for example

http://Mybroker.com?buy?something?10K
http://Mybroker.com?cancel?all
http://Mybroker.com?sell?someotherstuff?20K

I have this strings stored into a file called multiorder.txt

So I have developed a c# program to read out this multiorder.txt whenever the file is changed.
Then I will send this lines via http.
I use multithreading to send up to 20 hrefs at the time but my problem is that only 3 or 4 of this will be send all the other lines will not send. I get the error message, that there are problems with the internet.

To send one line wait till response from the server and then send the next one will take to much time as the XML request I get takes about 40 seconds.


I need simply an idea how i can handle it to send 30 hrefs through .net at a time without crashing the program.


Thanks for help.

GeneralRe: multithreading and web request help needed Pin
Judah Gabriel Himango12-Mar-05 7:03
sponsorJudah Gabriel Himango12-Mar-05 7:03 
GeneraliAnywhere.Data.AsaClient Pin
sreejith ss nair11-Mar-05 21:51
sreejith ss nair11-Mar-05 21:51 
GeneralRe: iAnywhere.Data.AsaClient Pin
S. Senthil Kumar11-Mar-05 22:35
S. Senthil Kumar11-Mar-05 22:35 
GeneralRe: iAnywhere.Data.AsaClient Pin
sreejith ss nair11-Mar-05 23:22
sreejith ss nair11-Mar-05 23:22 
GeneralRe: iAnywhere.Data.AsaClient Pin
Robert Rohde12-Mar-05 2:06
Robert Rohde12-Mar-05 2:06 
GeneralRe: iAnywhere.Data.AsaClient Pin
sreejith ss nair12-Mar-05 19:03
sreejith ss nair12-Mar-05 19:03 
GeneralRe: iAnywhere.Data.AsaClient Pin
Robert Rohde12-Mar-05 21:09
Robert Rohde12-Mar-05 21:09 
GeneralRe: iAnywhere.Data.AsaClient Pin
sreejith ss nair12-Mar-05 21:38
sreejith ss nair12-Mar-05 21:38 
GeneralRe: iAnywhere.Data.AsaClient Pin
sreejith ss nair13-Mar-05 17:23
sreejith ss nair13-Mar-05 17:23 
GeneralRe: iAnywhere.Data.AsaClient Pin
Robert Rohde13-Mar-05 19:24
Robert Rohde13-Mar-05 19:24 
GeneralRe: iAnywhere.Data.AsaClient Pin
sreejith ss nair13-Mar-05 19:58
sreejith ss nair13-Mar-05 19:58 
GeneralPrinting Problem Pin
sachinkalse11-Mar-05 19:31
sachinkalse11-Mar-05 19:31 
GeneralRe: Printing Problem Pin
sreejith ss nair11-Mar-05 21:55
sreejith ss nair11-Mar-05 21:55 
GeneralSession Ending Pin
Zapss11-Mar-05 19:08
Zapss11-Mar-05 19:08 
GeneralRe: Session Ending Pin
mav.northwind11-Mar-05 20:22
mav.northwind11-Mar-05 20:22 
GeneralRe: Session Ending Pin
sreejith ss nair11-Mar-05 22:04
sreejith ss nair11-Mar-05 22:04 
GeneralI need your opinions! Pin
tutananthanh11-Mar-05 17:28
tutananthanh11-Mar-05 17:28 

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.