Re: Converting byte[] to string
From: Jon Skeet [C# MVP] (skeet_at_pobox.com)
Date: 10/22/04
- Next message: Adrian: "Re: re:if(word_a != word_b) then ..."
- Previous message: Jon Skeet [C# MVP]: "Re: float vs double"
- In reply to: Marius Cabas: "Re: Converting byte[] to string"
- Next in thread: Chris Ballard: "RE: Converting byte[] to string"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 22 Oct 2004 09:53:31 +0100
Marius Cabas <marius_cabas@hotmail.com> wrote:
> "Jon Skeet [C# MVP]" <skeet@pobox.com> wrote in message
> > Are you able to specify the encoding the SSL code will use?
>
> No, I have no control. I can only connect to a remote host using a por
> number and I can set the certificates. Afterwards, I can read and write data
> from/to the socket.
And you can only read/write data from/to the socket in string form?
What a terrible interface.
Basically, you won't be able to transfer binary data correctly unless
you can use something like Base64 encoding at both ends. If you don't
have control over the other end, you're stuffed.
Is there any way you can ditch this library and use a different one? It
sounds awful...
-- Jon Skeet - <skeet@pobox.com> http://www.pobox.com/~skeet If replying to the group, please do not mail me too
- Next message: Adrian: "Re: re:if(word_a != word_b) then ..."
- Previous message: Jon Skeet [C# MVP]: "Re: float vs double"
- In reply to: Marius Cabas: "Re: Converting byte[] to string"
- Next in thread: Chris Ballard: "RE: Converting byte[] to string"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|