[Mono-list] TcpChannel
Lluis Sanchez
lluis@ideary.com
Tue, 27 May 2003 17:02:04 +0200
Fixed in CVS. The problem was that the implementation of
BinaryReader.PeekChar() relied on that the stream was seekable, and although
the zip stream appears to be seekable, Seek() doesn't work correctly.
- Lluis
----- Original Message -----
From: "Daniel Grigoras" <dgrigoras@yahoo.com>
To: "Lluis Sanchez" <lluis@ideary.com>
Sent: Friday, May 23, 2003 3:04 AM
Subject: Re: [Mono-list] TcpChannel
>
> Hello
>
> the application insert a custom sink client/server
> (and provider sink of course ! ) that use the library
> ICSharpCode.SharpZipLib.dll and :
> -on the client side : zip request / unzip response
> - on the server side:unzip request / zip response .
>
> clientSide: BinaryFormatter -> ZipSink -> Tcp
> serverSide: Tcp -> ZipSink -> BinaryFormatter
>
> Do you want to send you all files ..in small zip ?
>
> Daniel G.
>
> PS. please I read on Internet about GenuineChannel ..
> and the author said something like that :
> ".. to zip/unzip the headers... "; how can I do that
> ?
> The library ICSharpCode works with Stream ... and how
> can I zip/unzip ITransportHeaders ?
>
> Thanks for your time !
> Daniel G
>
>
>
>
> --- Lluis Sanchez <lluis@ideary.com> wrote:
> > Hi,
> >
> > The TcpChannel is more or less complete. I think
> > that the problem is in the
> > server side, when processing of the message. Can you
> > post a sample
> > application?
> >
> > - Lluis
> >
> > ----- Original Message -----
> > From: "Daniel Grigoras" <dgrigoras@yahoo.com>
> > To: <mono-list@ximian.com>
> > Sent: Wednesday, May 21, 2003 10:01 PM
> > Subject: [Mono-list] TcpChannel
> >
> >
> > >
> > > Hello,
> > >
> > > I have an application that use TcpChannel ( the
> > same
> > > program in .Net it's ok ) but in Linux :
> > >
> > > .........
> > > Unhandled Exception:
> > > System.Runtime.Remoting.RemotingException: Unknown
> > > response message from server
> > >
> > > Server stack trace:
> > > in <0x000cf> 00
> > >
> >
> System.Runtime.Remoting.Channels.Tcp.TcpClientTransportSink:ProcessMessage
> > >
> >
>
(System.Runtime.Remoting.Messaging.IMessage,System.Runtime.Remoting.Channels
> >
>
.ITransportHeaders,System.IO.Stream,System.Runtime.Remoting.Channels.ITransp
> > ortHeaders&,System.IO.Stream&)
> > > in <0x00119> 00 Sinks.XClientSink:ProcessMessage
> > >
> >
>
(System.Runtime.Remoting.Messaging.IMessage,System.Runtime.Remoting.Channels
> >
>
.ITransportHeaders,System.IO.Stream,System.Runtime.Remoting.Channels.ITransp
> > ortHeaders&,System.IO.Stream&)
> > > in <0x001c6> 00
> > >
> >
>
System.Runtime.Remoting.Channels.BinaryClientFormatterSink:SyncProcessMessag
> > e
> > > (System.Runtime.Remoting.Messaging.IMessage)
> > >
> > >
> > > Exception rethrown at [0]:
> > >
> > > in <0x000af> 00
> > >
> >
> System.Runtime.Remoting.Proxies.RealProxy:PrivateInvoke
> > >
> >
>
(System.Runtime.Remoting.Proxies.RealProxy,System.Runtime.Remoting.Messaging
> > .IMessage,System.Exception&,object[]&)
> > > in (unmanaged) 07 Share.RemoteOO:MetodaOO ()
> > > in <0x00004> 07 Share.RemoteOO:MetodaOO ()
> > > in <0x00031> 08 Share.RemoteOO:MetodaOO ()
> > > in <0x00232> 00 Client.Client:Main (string[])
> > >
> > > Please, in this version 0.24, TcpChannel is full
> > > working ?
> > >
> > > Thanks
> > > Daniel G.
> > >
> > >
> > >
> > >
> > >
> > > __________________________________
> > > Do you Yahoo!?
> > > The New Yahoo! Search - Faster. Easier. Bingo.
> > > http://search.yahoo.com
> > > _______________________________________________
> > > Mono-list maillist - Mono-list@lists.ximian.com
> > > http://lists.ximian.com/mailman/listinfo/mono-list
> > >
> >
> > _______________________________________________
> > Mono-list maillist - Mono-list@lists.ximian.com
> > http://lists.ximian.com/mailman/listinfo/mono-list
>
>
> __________________________________
> Do you Yahoo!?
> The New Yahoo! Search - Faster. Easier. Bingo.
> http://search.yahoo.com
>