How to choose a CRM platform for communicating with clients?

How to choose a CRM platform for communicating with clients?

.

c# – Connecting multiple device/client with server and communicating with these connected devices?

Actually I have a written a code to established a multiple client/device connection with server. My code established a multiple a connection with server and shows me a list of connected clients after When I select a connected device and try to send messages to client it’s working fine but When I try to receive a messages from client it’s not working.

Here is my Code:

Below code established a multiple client/devices connection with server

private void btnstart_Click(object sender, EventArgs e)
          {
    
    
                  string Systemip = getlocalip();
                  txtinfo.Text = "Server IP:" + Systemip + Environment.NewLine;
                  var portno = Int32.Parse("8010");
    
                  String a = "";
    
                  IPAddress ip = IPAddress.Parse(Systemip);
                  server = new TcpListener(ip, portno);
                  server.Start();
    
                 //here environment.newline means, display msg to next line.
                  txtinfo.AppendText("Server started waiting for client.............." + Environment.NewLine);
              counter = 0;
              f = new Form1();
              Thread newone = new Thread(loop);
              newone.Start();
    
    
          }
          public delegate void messageone();
          public void mess()
          {
    
              richtxtbddata.AppendText(counter + "clien connected" + Environment.NewLine);
              richtxtbddata.AppendText("The client is from IP address: " + ((IPEndPoint)socketforclient.RemoteEndPoint).Address.ToString() + Environment.NewLine);
          //    iplist.Items.Add(((IPEndPoint)socketforclient.RemoteEndPoint).Address.ToString());
              listBox1.Items.Add(counter);         //add this (((IPEndPoint)clientSocket.RemoteEndPoint).Address.ToString()); on the place of counter
          }
    
          public void loop(object obj)
          {
              connectobj = new List<Multipleconnect>();
    
              while (true)
              {
                  counter++;
    
                  socketforclient = server.AcceptSocket();
                 // ns = new NetworkStream(socketforclient);
                  connectobj.Add(new Multipleconnect
                  {
                      objectno = counter,
                      Skt = socketforclient,
                      nstream = new NetworkStream(socketforclient),
                      ip = ((IPEndPoint)socketforclient.RemoteEndPoint).Address.ToString()
                  });
    
                  //Box.AppendText(counter + "Client connected");
                  richtxtbddata.Invoke(new messageone(mess));
                  Thread UserThread = new Thread(new ThreadStart(() => f.User(socketforclient)));
                  UserThread.Start();
    
              }
          }
          public void User(Socket client)
          {
              while (true)
              {
                  try
                  {
                      byte() msg = new byte(1024);
                      int size = client.Receive(msg);
                      client.Send(msg, 0, size, SocketFlags.None);
                  }
                  catch (Exception ex)
                  {
                      txtinfo.Text = "Divice Disconnected";
                  }
    
              }
    
          }

Below code is for sending and receiving a messages but In this code messages sent client/device successfully but this code is not receive a messages from client/devices.

private void btnsend_Click(object sender, EventArgs e)
       {

       isNew = true;

           if (servermsg.Text != "") {

               ns = new NetworkStream(socketforclient);
               StreamWriter writer = new StreamWriter(ns);

               writer.WriteLine(servermsg.Text + Environment.NewLine);
               txtinfo.AppendText("Server:" + servermsg.Text + Environment.NewLine);
               writer.Flush();
               writer.Close();
           }


           ns = new NetworkStream(socketforclient);
           StreamReader sr = new StreamReader(ns);
           string myCompleteMessage = string.Empty;

           if (ns.DataAvailable)
           {
               myReadBuffer = new byte(2048);
               datafinal = new double(1);

               myCompleteMessage = Encoding.ASCII.GetString(myReadBuffer, 0, readbytes);

           }

           //runn();



           if (myCompleteMessage != "")
           {
              txtinfo.AppendText("Client:" + myCompleteMessage + Environment.NewLine + Environment.NewLine);
           }

       }

If You want a complete code, It is given below:

using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Net;
using System.Net.Sockets;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Forms;

/// <summary>
/// single connection in working condition with old code.....
/// </summary>

namespace TCPSERVER
{
  
    public partial class Form1 : Form
    {
        List<Multipleconnect> connectobj;

        Form1 f;
        int counter = 0;
        NetworkStream ns;
        int i = 0;
        Socket socketforclient;
        TcpListener server;
        byte() myReadBuffer;
        int readbytes;
        int p = 0;
        int y;
        double() datafinal;
        double() yy;
        List<double> xx;
        string stop = "";
        Multipleconnect mulcon = new Multipleconnect();

        public Form1()
        {
            InitializeComponent();
            //txtserverip.Text = getlocalip();
         
            Featuresduringrun();
         //   Connnection();
        }

        private void btnstart_Click(object sender, EventArgs e)
        {
          
            
                string Systemip = getlocalip();
                txtinfo.Text = "Server IP:" + Systemip + Environment.NewLine;
                var portno = Int32.Parse("8010");
             
                String a = "";

                IPAddress ip = IPAddress.Parse(Systemip);
                server = new TcpListener(ip, portno);
                server.Start();

               //here environment.newline means, display msg to next line.
                txtinfo.AppendText("Server started waiting for client.............." + Environment.NewLine);
            counter = 0;
            f = new Form1();
            Thread newone = new Thread(loop);
            newone.Start();

 
        }
        public delegate void messageone();
        public void mess()
        {

            richtxtbddata.AppendText(counter + "clien connected" + Environment.NewLine);
            richtxtbddata.AppendText("The client is from IP address: " + ((IPEndPoint)socketforclient.RemoteEndPoint).Address.ToString() + Environment.NewLine);
        //    iplist.Items.Add(((IPEndPoint)socketforclient.RemoteEndPoint).Address.ToString());
            listBox1.Items.Add(counter);         //add this (((IPEndPoint)clientSocket.RemoteEndPoint).Address.ToString()); on the place of counter
        }

        public void loop(object obj)
        {
            connectobj = new List<Multipleconnect>();

            while (true)
            {
                counter++;

                socketforclient = server.AcceptSocket();
               // ns = new NetworkStream(socketforclient);
                connectobj.Add(new Multipleconnect
                {
                    objectno = counter,
                    Skt = socketforclient,
                    nstream = new NetworkStream(socketforclient),
                    ip = ((IPEndPoint)socketforclient.RemoteEndPoint).Address.ToString()
                });

                //Box.AppendText(counter + "Client connected");
                richtxtbddata.Invoke(new messageone(mess));
                Thread UserThread = new Thread(new ThreadStart(() => f.User(socketforclient)));
                UserThread.Start();

            }
        }
        public void User(Socket client)
        {
            while (true)
            {
                try
                {
                    byte() msg = new byte(1024);
                    int size = client.Receive(msg);
                    client.Send(msg, 0, size, SocketFlags.None);
                }
                catch (Exception ex)
                {
                    txtinfo.Text = "Divice Disconnected";
                }

            }




        }




        public static string getlocalip()
        {
            var host = Dns.GetHostEntry(Dns.GetHostName());
            foreach(var ip in host.AddressList)
            {
                if (ip.AddressFamily == AddressFamily.InterNetwork)
                {
                    return ip.ToString();
                }
            }
            return "not found any ip";
        }
 
        private void btnsend_Click(object sender, EventArgs e)
        {
            string aa = listBox1.SelectedItems(0).ToString();
            if (aa == null)
            {
                MessageBox.Show("Selexct a item");

            }
     

            
            if (servermsg.Text != "") {
               
                ns = new NetworkStream(socketforclient);
                StreamWriter writer = new StreamWriter(ns);
               
                writer.WriteLine(servermsg.Text + Environment.NewLine);
                txtinfo.AppendText("Server:" + servermsg.Text + Environment.NewLine);
                writer.Flush();
                writer.Close();
            }
      

            ns = new NetworkStream(socketforclient);
            StreamReader sr = new StreamReader(ns);
            string myCompleteMessage = string.Empty;

            if (ns.DataAvailable)
            {
            myReadBuffer = new byte(2062);
            int rreadbytes = ns.Read(myReadBuffer, 0, myReadBuffer.Length);
            string Client2 = Encoding.ASCII.GetString(myReadBuffer, 0, rreadbytes);
            myCompleteMessage = Client2;

            }

          
            if (myCompleteMessage != "")
            {
               txtinfo.AppendText("Client:" + myCompleteMessage + Environment.NewLine + Environment.NewLine);
            }

        }










   
  

      
  
  

 
         
   
      
        private Form activeform = null;

     
        private void listBox1_SelectedIndexChanged(object sender, EventArgs e)
        {
            string aa = listBox1.SelectedItems(0).ToString();
            if (aa == null)
            {
                MessageBox.Show("Selexct a item");

            }
            ////  int endindex = aa.Length - 1;
            //// int b = aa.IndexOf("}");
            ////aa = aa.Substring(15, 13);

            foreach (var ob in connectobj)
            {
                if (ob.objectno.ToString() == aa)     //write ob.ip on the place of ob.objectno
                {
                    socketforclient = ob.Skt;
                    MessageBox.Show("yes");
                }
            }
        }

  
    }
}

Below code comes another class which is used to store the multiple client

using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Sockets;
using System.Text;
using System.Threading.Tasks;

namespace TCPSERVER
{
    class Multipleconnect
    {
        public int objectno;
        public Socket Skt;
        public string ip;
        public NetworkStream nstream;
    }
}

testing – Communicating with the software team

testing – Communicating with the software team – Software Engineering Stack Exchange

Communicating design to non-designers – User Experience Stack Exchange

This is a general question so it’s hard to provide specific answers.

Many blogs and websites talk about the Feynman Learning Technique and I think it is a principle that applies when designers are communicating with non-designers (or for that matter, any type of communication between two people from different domain knowledge areas).

In essence, it involves these steps:

  1. Pretend to teach a concept you want to learn about to a student in
    the sixth grade.
  2. Identify gaps in your explanation. Go back to the source material to
    better understand it.
  3. Organize and simplify.
  4. Transmit (optional).

But take your example of a complex IA, I still believe that a well-organized IA should decompose into smaller and logical modules, until you get to the simplest components. Conversely, you should be able to summarize and concatenate categories so you can present the information at different levels of detail or complexity.

linux – Issues in communicating via IPSec (StrongSwan) between an Android client and its gateway (IKEv2)

I’ve been attempting to create an IPSec VPN into my home network to which I can tunnel from outside, eg. on my phone or thru my laptop when I’m abroad. Authenticating the clients is done via pubkey authentication with x509 certificates. All is working there, the only issue I have is with the Android client (on the official StrongSwan VPN app) which is failing to connect.

(IKE) authentication of 'arch' with RSA_EMSA_PKCS1_SHA2_256 successful
(IKE) IKE_SA android(3) established between (redacted)(C=IT, O=(redacted),
CN=(redacted) (havoc))...(redacted)(arch)
(IKE) scheduling rekeying in 35733s
(IKE) maximum IKE_SA lifetime 37533s
(IKE) installing DNS server 192.168.1.254
(IKE) installing new virtual IP 192.168.1.74
(IKE) received NO_PROPOSAL_CHOSEN notify, no CHILD_SA built
(IKE) closing IKE_SA due CHILD_SA setup failure

From what I’ve found (and been told) the received NO_PROPOSAL_CHOSEN notify, no CHILD_SA built is either due to a mismatch between cipher suites or an invalid ts config. Both should be correct, considering that the official StrongSwan wiki has a configuration that should support most, if not all, the (up-to date) client cipher suites. ts is likely correct because the Android client, as can be seen above, does actually get an IP via DHCP and does actually install it.

Configuration:

root@arch ~ # cat /etc/swanctl/swanctl.conf 
connections { 
        rw { 
                local_addrs = 192.168.1.143, (redacted) 
                pools = dhcp 
                local { 
                        auth = pubkey 
                        certs = serverCert.pem 
                        id = arch 
                } 
                remote { 
                        auth = pubkey 
                } 
                children { 
                        net { 
                                local_ts = 192.168.1.0/24 
                                updown = /usr/local/libexec/ipsec/_updown iptables 
                                esp_proposals = aes192gcm16-aes128gcm16-prfsha256-ecp256-ecp521,aes192-sha256-modp3072,default 
                        } 
                } 
                version = 2 
                proposals = aes192gcm16-aes128gcm16-prfsha256-ecp256-ecp521,aes192-sha256-modp3072,default 
        } 
} 
include conf.d/*.conf 

Does anyone have any insight into this?

api design – What is an efficent way of communicating between two backend services?

Here is my case: I have a deep learning model built using python, I want to deploy the model on AWS SageMaker and built an API(Node.js) to allow other future applications to interface with it seamlessly.

I thought the better way to do this might be to develop a simple Flask API and deploy it on SageMaker, then on the Node.js API communicate with the Flask API using requests to get predictions from the model.

the model is an OCR so the data coming from users is in the form of photo and the result will be just regular text, there will be moderate amount of load since the audience are big organizations that will use make requests to our services, the load is also bursty since users will only request when they want to OCR some of their documents

Now my question is: what is the standard way of doing this? Is this really a standard/preferred way to deploy a deep learning model? How do you usually go about interfacing between a model and an API? If it’s then is my idea of communicating between the two backends is good? Won’t repeatedly hoping between the two servers make the process really slow?

networking – Unity project not communicating with my iPhone 11?

Connecting to my iPhone 11 with a cool FaceTracking project called FaceCapOSCReceiverExample https://github.com/hizzlehoff/FaceCapOSCReceiverExample works excellent on my laptop, but not on my PC (Windows 10 and ubuntu dual boot. I am using Windows 10 for this project).

On my PC the only AntiVirus/firewall I have is Windows Defender. On the Inbound and Outbound rules, I deleted everything that had the word ‘Unity’ in it. I then added custom rules, allowing everything, for the program paths of Unity Hub and all Unity Editor installations.

But no luck. The program won’t communicate with my iPhone.

I even tried turning the firewall completely off and re-launching Unity as admin. No luck.

I then manually installed the latest drivers for my network adapters (I have both “Killer E2400 Gigabit Ethernet Controller” and “Qualcomm QCA9377 802.11ac Wireless Adapter” in Device Manager). No luck!

I also connected my PC to a personal hotspot from my iPhone. This was a tethered (purely USB) connection that I had running. But, while the tethered Internet worked great on my PC, it still didn’t make the Unity project communicate with my iPhone! ;O;

I then added a rule to my firewall where I created a TCP port number 60001 and set it so private and public could connect. (I’m very newbie about ports) Then I entered that as the Port number within the Unity project. Still no connection was made…

I have no idea what to try from here! Like I said, it works great on my laptop, but my laptop is too dang laggy to use with it, so I would really love to get it running on my PC.

tls – Is SSL Always Required When Communicating With Internal Client/Servers?

I’m in the planning/design stages of a project which will incorporate an internal server that communicates with internal clients. A quick summary of how this server will behave is as follows: end-users will make calls/commands to the server and depending on the information received by the server, it will initiate a psexec command back to the client to perform a function. The server does the processing/checks to tell if the command/circumstance is valid and runs a psexec process back to the client.

Is SSL really necessary? Im under the impression that the latest version of psexec encrypts the data being sent to a computer.

The commands/calls being sent to the server don’t include anything confidential.

Everything is internal – will only be needed to work on a LAN.

Is there something I am missing that would support SSL being used all the time? Is there times where its really just not necessary? I understand that more security is better than none, but I feel like there must be moments when it’s not necessary? maybe?

Happy to clear up any questions that could help make this question more clear :]

Thanks so much!!

privacy – What mitigations are there against a timing attack done to find which devices are communicating on a set of devices?

I know the title isn’t good at all but allow me to explain. In this model I have n devices on different networks that are able to communicate with each other. A supervisor is able to see every packet a device sends or receives. How can two devices A and B communicate in such a way that the supervisor knows A and B are talking to someone but doesn’t know they are talking to each other?

I have thought about the mitigation where the communicating devices also send packets to another random device and receives a response. So A sends packets to both B and C; B sends packets to both A and D. Would this work? What are the other methods of mitigation?

Battery is not communicating?

no battery communication

How to solve this problem?
Main problem is that no battery percentage is showing on display?

DreamProxies - Cheapest USA Elite Private Proxies 100 Private Proxies 200 Private Proxies 400 Private Proxies 1000 Private Proxies 2000 Private Proxies ExtraProxies.com - Buy Cheap Private Proxies Buy 50 Private Proxies Buy 100 Private Proxies Buy 200 Private Proxies Buy 500 Private Proxies Buy 1000 Private Proxies Buy 2000 Private Proxies ProxiesLive Proxies-free.com New Proxy Lists Every Day Proxies123