Click here to Skip to main content
15,913,773 members
Home / Discussions / C#
   

C#

 
GeneralRe: Connect ASP to A C# program? Pin
Snowjim9-Jan-05 12:00
Snowjim9-Jan-05 12:00 
AnswerRe: Connect ASP to A C# program? Pin
Andy Brummer9-Jan-05 16:07
sitebuilderAndy Brummer9-Jan-05 16:07 
GeneralRe: Connect ASP to A C# program? Pin
Snowjim9-Jan-05 21:20
Snowjim9-Jan-05 21:20 
GeneralRe: Connect ASP to A C# program? Pin
Andy Brummer10-Jan-05 3:15
sitebuilderAndy Brummer10-Jan-05 3:15 
GeneralC# cup/parser Pin
aRtsZ8-Jan-05 19:03
aRtsZ8-Jan-05 19:03 
Generaltabcontrol tabchanged event handler Pin
Pyro Joe8-Jan-05 16:43
Pyro Joe8-Jan-05 16:43 
GeneralRe: tabcontrol tabchanged event handler Pin
Stefan Troschuetz8-Jan-05 20:46
Stefan Troschuetz8-Jan-05 20:46 
GeneralBeginRead Method Pin
mikeyhardingboyo8-Jan-05 12:48
mikeyhardingboyo8-Jan-05 12:48 
In the documentation on this method it says i can extract the read data within the callback method? i dont understand how to do this...

eg

NetworkStream str = (NetworkStream) result.AsyncState;

byte[] myReadBuffer = new byte[2048];

int numberOfBytesRead = 0;

numberOfBytesRead = str.EndRead(result);

it says "To obtain the received data, call the AsyncState method of the IAsyncResult, and extract the buffer contained in the resulting state object"

so in my case the IAsyncResult = result and I case the stream state from it but how do i get the data? as theres no method to call??

confused Smile | :)





mike
GeneralRe: BeginRead Method Pin
kiranprabhu9-Jan-05 1:42
kiranprabhu9-Jan-05 1:42 
GeneralWIZARD FOR CONSTRUCTOR?! Pin
...---...8-Jan-05 12:07
...---...8-Jan-05 12:07 
GeneralRe: WIZARD FOR CONSTRUCTOR?! Pin
Matt Gerrans9-Jan-05 9:39
Matt Gerrans9-Jan-05 9:39 
GeneralWIZARD FOR CONSTRUCTOR?! Pin
...---...8-Jan-05 12:07
...---...8-Jan-05 12:07 
GeneralRe: WIZARD FOR CONSTRUCTOR?! Pin
leppie8-Jan-05 20:35
leppie8-Jan-05 20:35 
GeneralRe: WIZARD FOR CONSTRUCTOR?! Pin
Christian Graus8-Jan-05 22:24
protectorChristian Graus8-Jan-05 22:24 
Generalthe use of keyword new, when overriding methods Pin
thallish8-Jan-05 9:52
thallish8-Jan-05 9:52 
GeneralRe: the use of keyword new, when overriding methods Pin
thallish8-Jan-05 10:17
thallish8-Jan-05 10:17 
GeneralRe: the use of keyword new, when overriding methods Pin
DavidNohejl8-Jan-05 10:27
DavidNohejl8-Jan-05 10:27 
GeneralRe: the use of keyword new, when overriding methods Pin
DavidNohejl8-Jan-05 10:24
DavidNohejl8-Jan-05 10:24 
GeneralRe: the use of keyword new, when overriding methods Pin
Adam Goossens9-Jan-05 23:00
Adam Goossens9-Jan-05 23:00 
GeneralRe: the use of keyword new, when overriding methods Pin
turbochimp10-Jan-05 2:39
turbochimp10-Jan-05 2:39 
GeneralMultiple Instances Pin
TyronX8-Jan-05 7:46
TyronX8-Jan-05 7:46 
GeneralRe: Multiple Instances Pin
Matt Gerrans8-Jan-05 8:06
Matt Gerrans8-Jan-05 8:06 
GeneralRe: Multiple Instances Pin
TyronX8-Jan-05 11:22
TyronX8-Jan-05 11:22 
GeneralRe: Multiple Instances Pin
TyronX8-Jan-05 11:41
TyronX8-Jan-05 11:41 
GeneralRe: Multiple Instances Pin
Matt Gerrans9-Jan-05 6:25
Matt Gerrans9-Jan-05 6:25 

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.