       return;   // Let Terminal mode handle character
     }
     
-    inpint = ReadByte();    // Eat IAC character    
-    verbint = ReadByte();   // receive negotiation verb character
-        
-    C64Serial.print("Received verbint=");
-    C64Serial.println(verbint);
-        
+    inpint = ReadByte(wifly);    // Eat IAC character    
+    verbint = ReadByte(wifly);   // receive negotiation verb character        
     if (verbint == - 1) continue;                //          if negotiation verb character is nothing break the routine  (should never happen)
         
     switch (verbint) {                             //          evaluate negotiation verb character

        case 252:                                    //          if negotiation verb character is 252 (wont) or
        case 253:                                    //          if negotiation verb character is 253 (do) or
        case 254:                                    //          if negotiation verb character is 254 (dont)
          optint = ReadByte();                   //            receive negotiation option character
          
           C64Serial.print("Received optint=");
           C64Serial.println(optint);
          
          if (optint == -1) continue;                   //            if negotiation option character is nothing break the routine  
          
          
          switch (optint) {            
            
            case 3:                                   // if negotiation option character is 3 (suppress-go-ahead)

  
  while (true)
  {
    inpint = PeekByte(wifly);       //      peek at next character
     
    if (inpint != IAC)  
    {
