Click here to Skip to main content
15,915,093 members
Home / Discussions / C#
   

C#

 
GeneralRe: Moving through forms - problem! Pin
eyej21-Dec-05 13:44
eyej21-Dec-05 13:44 
GeneralRe: Moving through forms - problem! Pin
Bassam Saoud21-Dec-05 23:37
Bassam Saoud21-Dec-05 23:37 
Questionunlock users account Pin
sebastianos20-Dec-05 11:35
sebastianos20-Dec-05 11:35 
Questionkill a remote process Pin
sebastianos20-Dec-05 11:33
sebastianos20-Dec-05 11:33 
QuestionEdit text during design-time Pin
galinace20-Dec-05 10:45
galinace20-Dec-05 10:45 
QuestionHttp request Pin
Steve Messer20-Dec-05 10:11
Steve Messer20-Dec-05 10:11 
AnswerRe: Http request Pin
S. Senthil Kumar22-Dec-05 3:31
S. Senthil Kumar22-Dec-05 3:31 
GeneralRe: Http request Pin
Steve Messer22-Dec-05 15:16
Steve Messer22-Dec-05 15:16 
Yes, I ended up trying some thimg very similar


do
{
   bytesRead = sock.Receive(byReceive, byReceive.Length, 0);
   totalRead += bytesRead;
   Thread.Sleep(100);

   strRetPage = strRetPage + Encoding.ASCII.GetString(byReceive, 0, bytesRead);
}
while( sock.Available > 0 );


Now the problem is that without the Sleep it reads the socket once and bails out.
Another problem is that 10% of the time the socket claims to be empty and receives nothing.

I have little hair left to pull out Smile | :)

-- modified at 21:17 Thursday 22nd December, 2005
Questiondispaly non english from DB Pin
TAREQ F ABUZUHRI20-Dec-05 9:18
TAREQ F ABUZUHRI20-Dec-05 9:18 
AnswerRe: dispaly non english from DB Pin
Santosh Satalkar20-Dec-05 17:55
Santosh Satalkar20-Dec-05 17:55 
GeneralRe: dispaly non english from DB Pin
TAREQ F ABUZUHRI21-Dec-05 2:55
TAREQ F ABUZUHRI21-Dec-05 2:55 
QuestionWrite WebForm Variables to Word Pin
Dstayton20-Dec-05 7:47
Dstayton20-Dec-05 7:47 
QuestionTo Create Circular Directx Surface. Pin
ShettyRitheesh20-Dec-05 7:47
ShettyRitheesh20-Dec-05 7:47 
QuestionC# Question... Pin
QzRz20-Dec-05 5:56
QzRz20-Dec-05 5:56 
AnswerRe: C# Question... Pin
Guffa20-Dec-05 6:31
Guffa20-Dec-05 6:31 
AnswerNotification of form closing Pin
Sean Michael Murphy20-Dec-05 7:33
Sean Michael Murphy20-Dec-05 7:33 
GeneralRe: Notification of form closing Pin
QzRz20-Dec-05 7:38
QzRz20-Dec-05 7:38 
GeneralRe: Notification of form closing Pin
Sean Michael Murphy20-Dec-05 7:55
Sean Michael Murphy20-Dec-05 7:55 
GeneralRe: Notification of form closing Pin
QzRz23-Dec-05 8:47
QzRz23-Dec-05 8:47 
QuestionCasting an object to a double[] Pin
smurfy3420-Dec-05 5:54
smurfy3420-Dec-05 5:54 
AnswerRe: Casting an object to a double[] Pin
Judah Gabriel Himango20-Dec-05 7:19
sponsorJudah Gabriel Himango20-Dec-05 7:19 
GeneralRe: Casting an object to a double[] Pin
smurfy3420-Dec-05 7:45
smurfy3420-Dec-05 7:45 
GeneralRe: Casting an object to a double[] Pin
Judah Gabriel Himango20-Dec-05 8:20
sponsorJudah Gabriel Himango20-Dec-05 8:20 
GeneralRe: Casting an object to a double[] Pin
smurfy3420-Dec-05 16:43
smurfy3420-Dec-05 16:43 
QuestionCrystal Report - FIlter results Pin
chinky singh20-Dec-05 5:36
chinky singh20-Dec-05 5:36 

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.