예제 #1
0
 /// <summary>
 /// 请求处理结束
 /// </summary>
 /// <param name="ipv6">ipv6地址</param>
 /// <returns>下一个客户端</returns>
 public override Socket End(ipv6Hash ipv6)
 {
     return(null);
 }
예제 #2
0
 /// <summary>
 /// 添加客户端
 /// </summary>
 /// <param name="socket">套接字</param>
 /// <param name="ipv4">ipv4地址</param>
 /// <param name="ipv6">ipv6地址</param>
 /// <returns>套接字操作类型</returns>
 public virtual socketType NewClient(Socket socket, ref int ipv4, ref ipv6Hash ipv6)
 {
     return(base.NewClient(socket, socket, ref ipv4, ref ipv6));
 }
예제 #3
0
 /// <summary>
 /// 添加客户端
 /// </summary>
 /// <param name="socket">套接字</param>
 /// <param name="ipv4">ipv4地址</param>
 /// <param name="ipv6">ipv6地址</param>
 /// <returns>套接字操作类型</returns>
 public override socketType NewClient(Socket socket, ref int ipv4, ref ipv6Hash ipv6)
 {
     ipv4 = 0;
     return(socketType.Ipv4);
 }