/// <summary>
 ///     Initializes a new instance of the <see cref="SocketAwaitable" /> class.
 /// </summary>
 public SocketAwaitable()
 {
     this.awaiter = new SocketAwaiter(this);
 }
Esempio n. 2
0
 /// <summary>
 ///     Initializes a new instance of the <see cref="SocketAwaitable" /> class.
 /// </summary>
 public SocketAwaitable()
 {
     this.awaiter = new SocketAwaiter(this);
 }
Esempio n. 3
0
 /// <summary>
 ///     Initializes a new instance of the <see cref="SocketAwaitable" /> class.
 /// </summary>
 public SocketAwaitable()
 {
     this.awaiter     = new SocketAwaiter(this);
     this.transferred = new ArraySegment <byte>(EmptyArray);
 }