Re: Simultaneous connection - WeOnlyDo Discussion board

Re: Simultaneous connection (General questions)

by Shakeeb Ahmed, Thursday, September 20, 2007, 18:28 (6072 days ago) @ wodDamir

This is my code
//.......................
for (int i = 0; i < 100; i++)
{
if (i == Account.Length)
break;
masterindex = masterindex + 1;
TotalTried++;
this.lbTotalTried.Text = TotalTried.ToString();

string acc = this.Account.GetValue(masterindex).ToString();

if (acc.Contains( : ) == true)
{
string[] detail = acc.Split(':');
strEmail = detail.GetValue(0).ToString();
strPass = detail.GetValue(1).ToString();

http = new wodHttpDLXCom();
http.Notification = this;
http.Request.FormPost.RemoveAll();
http.Request.Cookies.RemoveAll();
http.Request.UserAgent = @ Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.1) Gecko/20061204 Firefox/2.0.0.1 ;
http.Compression = true;
http.Request.Tag = i;
http.AutoRedirect = true;
http.Request.FormPost.Add( Login , );
http.Request.FormPost.Add( email , email);
http.Request.FormPost.Add( password , pass);
http.Request.FormPost.Add( Submit , Submit );
http.Post(url);
}
}
//.......................
Now wat I want to know is that I am opening how much connection simultaneously
............
[quote]Hi Ahmed,

Do you receive an error? Can you tell me which one is it?

Also, another question would be if you are using blocking?

Regards,
Damba[/quote]


Complete thread: