Dave Thomas's blog articles

0
comment
on 1/19/2011 5:17 PM
Welcome to part three! As promised heres a description of the inner workings.  I’m sick to death of typing SocketAsyncEventArgs so from now on I will refer to it as SAEA. BocketPool The BocketPool has an interesting name and with it an interesting constructor! It takes the following parameters: number: The number of items to create in the BocketPool. size: The size of each buffer in bytes. callback: A callback function which is invoked whenever the SAEA object completes its operation. 1 2 3 4 5 6 type[...]
>> Read the full article
.
0
comment
on 1/19/2011 5:17 PM
Welcome to part three!As promised heres a description of the inner workings. I’m sick to death of typing SocketAsyncEventArgs so from now on I will refer to it as SAEA.
>> Read the full article
.
0
comment
on 1/14/2011 2:29 PM
Welcome to part two Lets jump in at the deep end and take a look at some code… When you look at the method syntax for the xxxAsync methods you will notice they return a boolean value that indicates if the method completed synchronously, this means that you have to check the return value every time you use one of the methods and invoke the callback yourself if it completes synchronously.  In practice this hardly ever happens, and normally only on a send operation.  But as it is a possibility we will add m[...]
>> Read the full article
.
0
comment
on 1/14/2011 2:29 PM
Welcome to part two Part 1 Part 2 Part 3 Part 4 Lets jump in at the deep end and take a look at some code… When you look at the method syntax for the xxxAsync methods you will notice they return a boolean value that indicates if the method completed synchronously, this means that [...]
>> Read the full article
.
0
comment
on 1/14/2011 2:29 PM
Welcome to part twoLets jump in at the deep end and take a look at some code… When you look at the method syntax for the xxxAsync methods you will notice they return a boolean value that indicates if the method completed synchronously, this means that you have to check the return value every time you use one of the methods and invoke the callback yourself if it completes synchronously. In practice this hardly ever happens, and normally only on a send operation. But as it is a possibility we will add[...]
>> Read the full article
.
IntelliFactory Offices Copyright (c) 2011-2012 IntelliFactory. All rights reserved.
Home | Products | Consulting | Trainings | Blogs | Jobs | Contact Us | Terms of Use | Privacy Policy | Cookie Policy
Built with WebSharper