Search squid archive

Re: Info on redirector's pattern

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tis 2006-03-07 klockan 16:15 +0100 skrev Stefano Del Furia:
> Thanks for the info.
> I have read and i think to understand the process.
> So i have build a simple redirector in C# under windows environment like  
> this:
> 
> 			string text = "";
> 			while ( Console.In.Peek() != -1 )
> 				{
> 					text = Console.In.ReadLine();
> 					Console.Out.WriteLine(text.ToUpper());
> 				}

Not a C# programmer but are you sure about the Peek function?

The program should loop continously until EOF is detected on input..

Regards
Henrik

Attachment: signature.asc
Description: Detta =?ISO-8859-1?Q?=E4r?= en digitalt signerad meddelandedel


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux