Ejemplo n.º 1
0
 /// <summary>
 ///     Initializes a new instance of the <see cref="SocketAwaitable" /> class.
 /// </summary>
 public SocketAwaitable()
 {
     _awaiter = new SocketAwaiter(this);
     _transferred = new ArraySegment<byte>(EmptyArray);
 }
Ejemplo n.º 2
0
 /// <summary>
 ///     Initializes a new instance of the <see cref="SocketAwaitable" /> class.
 /// </summary>
 public SocketAwaitable()
 {
     _awaiter     = new SocketAwaiter(this);
     _transferred = new ArraySegment <byte>(EmptyArray);
 }