
    <span style="color: #5e6d03;">case</span> <span style="color: #000000;">WStype_CONNECTED</span><span style="color: #434f54;">:</span> <span style="color: #000000;">{</span>              <span style="color: #434f54;">// if a new websocket connection is established</span>
        <b><span style="color: #d35400;">IPAddress</span></b> <span style="color: #000000;">ip</span> <span style="color: #434f54;">=</span> <span style="color: #000000;">webSocket</span><span style="color: #434f54;">.</span><span style