Click here to Skip to main content
16,014,294 members
Home / Discussions / C#
   

C#

 
QuestionIs this a c# bug? Pin
Vlad Beu26-Apr-02 9:47
Vlad Beu26-Apr-02 9:47 
AnswerRe: Is this a c# bug? Pin
Tom Archer26-Apr-02 10:14
Tom Archer26-Apr-02 10:14 
GeneralFor Tom Archer Pin
Vlad Beu26-Apr-02 10:20
Vlad Beu26-Apr-02 10:20 
GeneralRe: For Tom Archer Pin
Tom Archer26-Apr-02 10:43
Tom Archer26-Apr-02 10:43 
GeneralRe: For Tom Archer Pin
Albert Pascual26-Apr-02 11:48
sitebuilderAlbert Pascual26-Apr-02 11:48 
GeneralRe: For Tom Archer Pin
Tom Archer26-Apr-02 12:02
Tom Archer26-Apr-02 12:02 
GeneralRe: For Tom Archer Pin
Albert Pascual26-Apr-02 12:30
sitebuilderAlbert Pascual26-Apr-02 12:30 
GeneralRe: For Tom Archer Pin
Tom Archer26-Apr-02 12:38
Tom Archer26-Apr-02 12:38 
Albert Pascual wrote:
My confusion is when the Read function is call the second time. Will you lose the info that was already in buf? or is going to attached it at the end of the buf instead of buf[0]?

Yes, I'm writing into the same buf byte array each time through the loop. That's why the WriteLine is in the loop; to print the information on the screen before it gets overwritten with the next block of read data.

Albert Pascual wrote:
Again, thanks!

No problem Smile | :)

Cheers,
Tom Archer
Author, Inside C#

Please note that the opinions expressed in this correspondence do not necessarily reflect the views of the author.
GeneralRe: For Tom Archer Pin
Albert Pascual26-Apr-02 12:44
sitebuilderAlbert Pascual26-Apr-02 12:44 
GeneralRe: For Tom Archer Pin
Tom Archer26-Apr-02 12:51
Tom Archer26-Apr-02 12:51 
AnswerRe: Is this a c# bug? Pin
Vlad Beu26-Apr-02 10:53
Vlad Beu26-Apr-02 10:53 
GeneralRe: Is this a c# bug? Pin
Tom Archer26-Apr-02 11:00
Tom Archer26-Apr-02 11:00 
GeneralAPI wrapper in C# Pin
HG26-Apr-02 8:32
HG26-Apr-02 8:32 
GeneralRe: API wrapper in C# Pin
Albert Pascual26-Apr-02 8:58
sitebuilderAlbert Pascual26-Apr-02 8:58 
GeneralRe: API wrapper in C# Pin
HG26-Apr-02 20:49
HG26-Apr-02 20:49 
Generalmouse disappears when typing into combobox Pin
temujin26-Apr-02 8:02
temujin26-Apr-02 8:02 
GeneralSimilar to CHAR ( ) Pin
abdul26-Apr-02 2:25
abdul26-Apr-02 2:25 
GeneralRe: Similar to CHAR ( ) Pin
[James Pullicino]26-Apr-02 2:31
[James Pullicino]26-Apr-02 2:31 
GeneralRe: Similar to CHAR ( ) Pin
Nick Parker26-Apr-02 2:57
protectorNick Parker26-Apr-02 2:57 
GeneralRe: Similar to CHAR ( ) Pin
James T. Johnson26-Apr-02 7:39
James T. Johnson26-Apr-02 7:39 
GeneralRe: Similar to CHAR ( ) Pin
26-Apr-02 15:21
suss26-Apr-02 15:21 
Generali am the saddest one by now!help me!! Pin
zhoujun25-Apr-02 22:46
zhoujun25-Apr-02 22:46 
GeneralRe: i am the saddest one by now!help me!! Pin
Michael P Butler26-Apr-02 0:30
Michael P Butler26-Apr-02 0:30 
Generalhi!the question may be not proper in this forum! Pin
zhoujun25-Apr-02 14:56
zhoujun25-Apr-02 14:56 
GeneralRe: hi!the question may be not proper in this forum! Pin
Nish Nishant25-Apr-02 15:03
sitebuilderNish Nishant25-Apr-02 15:03 

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.