예제 #1
0
파일: UvTcp.cs 프로젝트: codecopy/NLibuv
 /// <summary>
 /// Initializes a new instance of <see cref="UvTcp"/> handle on the given event loop.
 /// </summary>
 /// <param name="loop"></param>
 public UvTcp(UvLoop loop) : base(loop, UvHandleType.Tcp)
 {
     Libuv.EnsureSuccess(Libuv.uv_tcp_init(loop, this));
     this.NeedsToBeClosed = true;
 }