/// <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; }