Dirk, >> Anyway, the out modifier causes the buffer to be transferred back. To avoid this, >you can provide a wrapper for the Read method on your server component. > I don't want to avoid the transfert back, I want to avoid the transfer to the server.
Offcourse: I'm sorry, I was sleeping here. ;) Providing a wrapper method for one-direction traffic might just do the job in some cases, but --- as you pointed out in a previous posting --- it does not give you the flexibility of transparant use of the Stream class through the remoting infrastructure you sometimes desire. At the end of the road, the Stream class just doesn't proof itself suitable for a distributed scenario. -- Stefan You can read messages from the Advanced DOTNET archive, unsubscribe from Advanced DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.