![]() |
| | #1 |
| Registered User Join Date: May 2006
Posts: 1,579
| Close an HTTPListenerResponse.OutputStreram 1. When we close the HTTPListenerResponse.OutputStreram (using Close method, when complete writing content from server side), I think in the internal of CLR, there should be some flush work during Close method (I do not think each time when we write to the stream, data will be flushed immediately). But the return type of Close is void and there is no exception thrown from Close from MSDN document for Close method, if Close fail, and means data is corrupted -- flush of data failed. How could we detect this situation? 2. Any best practices to solve the issue when program server side code? thanks in advance, George |
| George2 is offline |
![]() |
| Thread Tools | |
| Display Modes | |
|
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Play Mpg/WMV/etc. until completed, then close .exe -- A bit of help needed por favor | Aeroflot | C Programming | 9 | 05-26-2009 12:40 PM |
| User input to close window | NoFearXD | Windows Programming | 2 | 05-09-2007 07:38 PM |
| open() and close() | SoFarAway | C Programming | 3 | 04-08-2005 01:16 PM |
| XWindows- Close window event? | Exile | Linux Programming | 8 | 01-09-2005 10:39 PM |
| Ghost in the CD Drive | Natase | A Brief History of Cprogramming.com | 17 | 10-12-2001 05:38 PM |