Click here to Skip to main content
15,914,222 members
Home / Discussions / C#
   

C#

 
QuestionHow I Can Design this Form ? Pin
mm31012-Mar-06 4:52
mm31012-Mar-06 4:52 
AnswerRe: How I Can Design this Form ? Pin
Ed.Poore12-Mar-06 4:59
Ed.Poore12-Mar-06 4:59 
GeneralRe: How I Can Design this Form ? Pin
mm31012-Mar-06 8:59
mm31012-Mar-06 8:59 
GeneralRe: How I Can Design this Form ? Pin
Luis Alonso Ramos12-Mar-06 17:35
Luis Alonso Ramos12-Mar-06 17:35 
QuestionIIS Access denies Pin
mohdmeraj12-Mar-06 3:46
mohdmeraj12-Mar-06 3:46 
AnswerRe: IIS Access denies Pin
Dave Kreskowiak12-Mar-06 16:28
mveDave Kreskowiak12-Mar-06 16:28 
AnswerRe: IIS Access denies Pin
Luis Alonso Ramos12-Mar-06 17:38
Luis Alonso Ramos12-Mar-06 17:38 
QuestionGZipStream, CryptoStream and NetworkStream interaction Pin
Marc Clifton12-Mar-06 2:59
mvaMarc Clifton12-Mar-06 2:59 
It would appear that you have to close the CryptoStream to get all the data passed through to the NetworkStream (FlushFinalBlock doesn't seem to do it, which is odd, because when writing to a MemoryStream, it does work). However, GZipStream seems to have the same problem--you have to call Close to flush the final data.

The problem is, this closes the network stream! So I can't use the same socket to read any response.

Does anyone have any experience with this? It seems like I'll need to wrap the whole thing in a memory stream that allows the GZipStream and CryptoStream to close without affecting the NetworkStream. Is this correct?

Thanks!

Marc

Pensieve
Functional Entanglement vs. Code Entanglement
Static Classes Make For Rigid Architectures
AnswerRe: GZipStream, CryptoStream and NetworkStream interaction Pin
Ed.Poore12-Mar-06 4:54
Ed.Poore12-Mar-06 4:54 
GeneralRe: GZipStream, CryptoStream and NetworkStream interaction Pin
Marc Clifton12-Mar-06 7:14
mvaMarc Clifton12-Mar-06 7:14 
GeneralRe: GZipStream, CryptoStream and NetworkStream interaction Pin
Ed.Poore12-Mar-06 7:40
Ed.Poore12-Mar-06 7:40 
GeneralRe: GZipStream, CryptoStream and NetworkStream interaction Pin
Marc Clifton12-Mar-06 7:44
mvaMarc Clifton12-Mar-06 7:44 
GeneralRe: GZipStream, CryptoStream and NetworkStream interaction Pin
Ed.Poore12-Mar-06 7:51
Ed.Poore12-Mar-06 7:51 
GeneralRe: GZipStream, CryptoStream and NetworkStream interaction Pin
Marc Clifton12-Mar-06 10:28
mvaMarc Clifton12-Mar-06 10:28 
GeneralRe: GZipStream, CryptoStream and NetworkStream interaction Pin
Ed.Poore12-Mar-06 11:11
Ed.Poore12-Mar-06 11:11 
QuestionConstructors Pin
AJ12312-Mar-06 1:58
AJ12312-Mar-06 1:58 
AnswerRe: Constructors Pin
Colin Angus Mackay12-Mar-06 2:11
Colin Angus Mackay12-Mar-06 2:11 
GeneralRe: Constructors Pin
AJ12312-Mar-06 2:31
AJ12312-Mar-06 2:31 
QuestionTransperent window Pin
NaNg1524112-Mar-06 0:37
NaNg1524112-Mar-06 0:37 
AnswerRe: Transperent window Pin
Robin Panther12-Mar-06 2:48
Robin Panther12-Mar-06 2:48 
GeneralRe: Transperent window Pin
NaNg1524112-Mar-06 6:09
NaNg1524112-Mar-06 6:09 
AnswerRe: Transperent window Pin
Luis Alonso Ramos12-Mar-06 17:42
Luis Alonso Ramos12-Mar-06 17:42 
AnswerRe: Transperent window Pin
Luis Alonso Ramos13-Mar-06 9:52
Luis Alonso Ramos13-Mar-06 9:52 
QuestionPropertyGrid Mouse Events not behaving Pin
hype_rides12-Mar-06 0:06
hype_rides12-Mar-06 0:06 
AnswerRe: PropertyGrid Mouse Events not behaving Pin
Ed.Poore12-Mar-06 4:42
Ed.Poore12-Mar-06 4:42 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.