0
comment
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[...]