| Dart Home | PowerTCP Sockets for .NET | Custom Development | Reply | PowerTCP Sockets for .NET (Secure and Standard) Topics | Forums |
| Author | Forum: PowerTCP Sockets for .NET (Secure and Standard) Topic: Syncronous stream.read to delimiter |
| mljohn From: Wexford, PA USA Posts: 2 Member Since: 11/16/04 |
posted December 15, 2004 1:43 PM I am using the SSL sockets in syncronous mode. The sample given uses an HTTP protocol where the headers are read, then discarded. The sample then sits in a loop until the rest of the page is recieved. This is nearly identical to what I need to do, but I do not want to discard the headers. My question is where do the bytes that have been recieved get stored, if they do, in the following code sample? tcp1.Stream.Read("\r\n\r\n", 1024, ref found); |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted December 15, 2004 1:54 PM They are returned from the call to Read. Since the header is being ignored we don't check the return value. |
| Reply | PowerTCP Sockets for .NET (Secure and Standard) Topics | Forums |
This site is powered by
PowerTCP WebServer for ActiveX
|