Re: Strange problem of "read" method of filestream class.
From: Jon Skeet [C# MVP] (skeet_at_pobox.com)
Date: 06/03/04
- Next message: Marc Scheuner [MVP ADSI]: "Re: Append to App.exe.config at run time"
- Previous message: Satish Ri: "RE: Strange problem with dropdown list - always selects the first item"
- In reply to: Poseidon: "Strange problem of "read" method of filestream class."
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 3 Jun 2004 06:14:20 +0100
Poseidon <wy710612@hotmail.com> wrote:
> I use "read" method to read some blocks into a buffer from a
> filestream, and send data in the buffer to remote server with "send"
> method of cocket class. For certain computers, I have to add "sleep"
> commands after read, otherwise no data is sent to remote server.
You don't send data using Read, you send it using Write.
Could you post a short but complete program which demonstrates the
problem?
See http://www.pobox.com/~skeet/csharp/complete.html for details of
what I mean by that.
-- Jon Skeet - <skeet@pobox.com> http://www.pobox.com/~skeet If replying to the group, please do not mail me too
- Next message: Marc Scheuner [MVP ADSI]: "Re: Append to App.exe.config at run time"
- Previous message: Satish Ri: "RE: Strange problem with dropdown list - always selects the first item"
- In reply to: Poseidon: "Strange problem of "read" method of filestream class."
- Messages sorted by: [ date ] [ thread ]