title: error: 'serverHandshake' was not declared in this scope
body: <pre><code>#include &lt;WebSocketClient.h&gt;
  #include &lt;string.h&gt;
  #include &lt;stdlib.h&gt;
  #include &lt;Arduino.h&gt;
  #include &lt;SocketIOClient.h&gt;
  #include &lt;EEPROM.h&gt;
  #include &lt;SoftwareSerial.h&gt;
  #include &lt;SPI.h&gt;
  #include &lt;WiFi.h&gt;
  
  #define SSID "D"
  #define PASS "qwertypoiu"
  
  int keyIndex = 0;                                // your network key Index number
  int status = WL_IDLE_STATUS;  
  byte mac[] = { 0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xED };
  char server[] = "ec2-52-38-82-235.us-west-2.compute.amazonaws.com:8000";
  WebSocketClient client;
  void setup() {
    //Initialize serial and wait for port to open:
    Serial.begin(9600);
    while (!Serial) 
    {
    SoftwareSerial esp8266Module(10,11);
  
    Serial.begin(9600);
    Ethernet.begin(mac);
    client.connect("update trash");
    }
  }
  
  void loop() {
    // put your main code here, to run repeatedly:
   client.monitor();
   client.send("56fe4b3368fa1b0edd4b44a1,30");
   delay(2000);
  }
  </code></pre>
  
  <p>Above is my code i am unable to compile code .error is serverHandshake' was not declared in this scope . I can't any solution . Any help from your side will be appreciated . </p>