المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : c# crypto client/server problem



C# Programming
06-18-2009, 08:11 PM
Hi all http://www.barakasoft.com/script/Forums/Images/smiley_smile.gif

I have some problem sending and receiving datas throught c# asynchronous sockets when mapping a CryptoStream to the socket stream.
If I use the NetworkStream then everything is ok, but if I use the CryptoStream I get no error but I got no event 'OnReceive'...

Any ideas on why it works with NetworkStream but not using CryptoStream mapped to NetworkStream ?

Nous ne sommes que des grains de sable mais nous sommes ensemble. Nous sommes comme les grains de sable sur la plage, mais sans les grains de sable la plage n’existerait pas.
Poème en langue yamato(japonais ancien)