A
Ayende Rahien
I've a problem in my code using NetworkStream.
I've a server which listen to a port, and then Read() from it, and a
client that send data.
My NetworkStream is wrapped in a CryptoStream, and my problem is that I
don't get all the data that I send.
When I use NetworkStream, all is working properly, but when I use
CryptoStream (initialize to use the NetworkStream), I only get partial data.
Anyone knows why this is happenning?
I would rather avoid using the CryptoStream all-together, but I can't
find any documentation on using TransformBlock & TransformFinalBlock.
Thanks in advance,
Ayende Rahien
I've a server which listen to a port, and then Read() from it, and a
client that send data.
My NetworkStream is wrapped in a CryptoStream, and my problem is that I
don't get all the data that I send.
When I use NetworkStream, all is working properly, but when I use
CryptoStream (initialize to use the NetworkStream), I only get partial data.
Anyone knows why this is happenning?
I would rather avoid using the CryptoStream all-together, but I can't
find any documentation on using TransformBlock & TransformFinalBlock.
Thanks in advance,
Ayende Rahien