public bool CanAccept(Socket_Specific socket)
 {
     foreach (string allowedMaleSocket in this.allowedMaleSockets)
     {
         if (socket.targetSocketName == allowedMaleSocket)
         {
             return(true);
         }
     }
     return(false);
 }
 public bool CanAccept(Socket_Specific socket)
 {
     string[] strArrays = this.allowedMaleSockets;
     for (int i = 0; i < (int)strArrays.Length; i++)
     {
         string str = strArrays[i];
         if (socket.targetSocketName == str)
         {
             return(true);
         }
     }
     return(false);
 }