/// <summary> /// Binds the handle to the specified end point. /// </summary> /// <param name="endPoint"></param> public void Bind(IPEndPoint endPoint) { this.EnsureCallingThread(); var addr = SockAddr.FromIpEndPoint(endPoint); Libuv.EnsureSuccess(Libuv.uv_tcp_bind(this, ref addr, 0)); }