예제 #1
0
파일: UvTcp.cs 프로젝트: codecopy/NLibuv
 /// <summary>
 /// Opens an existing file descriptor or SOCKET as a TCP handle.
 /// </summary>
 /// <param name="hSocket"></param>
 public void Open(IntPtr hSocket)
 {
     this.EnsureCallingThread();
     Libuv.EnsureSuccess(Libuv.uv_tcp_open(this, hSocket));
 }